property_exists
Checks if the object or class has a property
&reftitle.description;
boolproperty_existsobjectstringobject_or_classstringproperty
This function checks if the given property exists in
the specified class.
As opposed with isset,
property_exists returns &true; even if the property
has the value &null;.
&reftitle.parameters;
object_or_class
The class name or an object of the class to test for
property
The name of the property
&reftitle.returnvalues;
Returns &true; if the property exists, &false; if it doesn't exist or
&null; in case of an error.
&reftitle.examples;
A property_exists example
]]>
&reftitle.notes;
¬e.uses-autoload;
The property_exists function cannot detect properties
that are magically accessible using the __get
magic method.
&reftitle.seealso;
method_exists