how to unset php object property code example Example: delete property from object php unset($a->new_property);