dynamically write a PHP object property name code example Example: PHP dynamic property name $obj->{$field}