php unset object property 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);