ReflectionClass::hasProperty Checks if property is defined &reftitle.description; public boolReflectionClass::hasProperty stringname Checks whether the specified property is defined. &reftitle.parameters; name Name of the property being checked for. &reftitle.returnvalues; &true; if it has the property, otherwise &false; &reftitle.examples; <methodname>ReflectionClass::hasProperty</methodname> example hasProperty("p1")); var_dump($obj->hasProperty("p2")); var_dump($obj->hasProperty("p3")); var_dump($obj->hasProperty("p4")); ?> ]]> &example.outputs.similar; &reftitle.seealso; ReflectionClass::hasConstant ReflectionClass::hasMethod