values.php
Table of Contents
Functions
- values() : array<int, mixed>
- Returns the list of public property values of an object.
Functions
values()
Returns the list of public property values of an object.
values(object $object) : array<int, mixed>
Only the accessible (public and dynamic) property values are returned, in declaration order, mirroring the behaviour of get_object_vars() from outside the class.
Parameters
- $object : object
-
The source object.
Tags
Return values
array<int, mixed> —A list of the object's public property values.