Reflection
5 entries
class_exists
Checks whether a class is defined (or can be autoloaded); part of the family with interface_exists/enum_exists.
method_exists
Checks whether a method exists on a class or object.
property_exists
Checks whether a property exists on a class or object (including properties whose value is null).
ReflectionClass
Runtime introspection of a class: reads the class name, method list, and property list.
reflectionproperty_isreadable
Per-scope readability/writability checks (new in PHP 8.6, Reflection): factoring in visibility, asymmetric visibility, hooks, __get/__set and initialization state.