php dynamically add property to object code example Example: PHP dynamic property name $obj->{$field}