remove field from object php code example
Example 1: delete property from object php
unset($a->new_property);
Example 2: remove field from object php
unset($a->new_property);
unset($a->new_property);
unset($a->new_property);