(PHP 4, PHP 5, PHP 7)
get_object_vars — Gets the properties of the given object
get_object_vars ( object $object ) : array
Gets the accessible non-static properties of the given object
according to scope.
object
An object instance.
Returns an associative array of defined object accessible non-static properties for the specified object
in scope.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.get-object-vars.php