3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { } class B implements I { } class C extends B { function foo() {} } $r = new \ReflectionClass('C'); var_export(\ReflectionClass::export($r, TRUE));
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined method ReflectionClass::export() in /in/j0c2a:16 Stack trace: #0 {main} thrown in /in/j0c2a on line 16
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Deprecated: Function ReflectionClass::export() is deprecated in /in/j0c2a on line 16 'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ public int IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ public int IS_EXPLICIT_ABSTRACT ] { 64 } Constant [ public int IS_FINAL ] { 32 } } - Static properties [0] { } - Static methods [1] { Method [ <internal, deprecated:Reflection> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [53] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection, prototype Reflector> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getReflectionConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getReflectionConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '
Output for 7.3.0 - 7.3.33
'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ public int IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ public int IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ public int IS_FINAL ] { 4 } } - Static properties [0] { } - Static methods [1] { Method [ <internal:Reflection, prototype Reflector> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [53] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection, prototype Reflector> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getReflectionConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getReflectionConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '
Output for 7.2.0 - 7.2.33
'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ public integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ public integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ public integer IS_FINAL ] { 4 } } - Static properties [0] { } - Static methods [1] { Method [ <internal:Reflection, prototype Reflector> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [53] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection, prototype Reflector> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getReflectionConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getReflectionConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '
Output for 7.1.0 - 7.1.25
'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ public integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ public integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ public integer IS_FINAL ] { 4 } } - Static properties [0] { } - Static methods [1] { Method [ <internal:Reflection, prototype Reflector> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [52] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection, prototype Reflector> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getReflectionConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getReflectionConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '
Output for 7.0.0 - 7.0.20
'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ integer IS_FINAL ] { 4 } } - Static properties [0] { } - Static methods [1] { Method [ <internal:Reflection, prototype Reflector> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [50] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection, prototype Reflector> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAnonymous ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
'Class [ <internal:Reflection> class ReflectionClass implements Reflector ] { - Constants [3] { Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 } Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 } Constant [ integer IS_FINAL ] { 64 } } - Static properties [0] { } - Static methods [1] { Method [ <internal:Reflection> static public method export ] { - Parameters [2] { Parameter #0 [ <required> $argument ] Parameter #1 [ <optional> $return ] } } } - Properties [1] { Property [ <default> public $name ] } - Methods [49] { Method [ <internal:Reflection> final private method __clone ] { - Parameters [0] { } } Method [ <internal:Reflection, ctor> public method __construct ] { - Parameters [1] { Parameter #0 [ <required> $argument ] } } Method [ <internal:Reflection> public method __toString ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInternal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isUserDefined ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstantiable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isCloneable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getFileName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStartLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getEndLine ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getDocComment ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method hasMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethod ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getMethods ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperty ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getProperties ] { - Parameters [1] { Parameter #0 [ <optional> $filter ] } } Method [ <internal:Reflection> public method hasConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getConstants ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getConstant ] { - Parameters [1] { Parameter #0 [ <required> $name ] } } Method [ <internal:Reflection> public method getInterfaces ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getInterfaceNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInterface ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraits ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitNames ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getTraitAliases ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isTrait ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isAbstract ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isFinal ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getModifiers ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isInstance ] { - Parameters [1] { Parameter #0 [ <required> $object ] } } Method [ <internal:Reflection> public method newInstance ] { - Parameters [1] { Parameter #0 [ <required> $args ] } } Method [ <internal:Reflection> public method newInstanceWithoutConstructor ] { - Parameters [0] { } } Method [ <internal:Reflection> public method newInstanceArgs ] { - Parameters [1] { Parameter #0 [ <optional> array $args ] } } Method [ <internal:Reflection> public method getParentClass ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isSubclassOf ] { - Parameters [1] { Parameter #0 [ <required> $class ] } } Method [ <internal:Reflection> public method getStaticProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <optional> $default ] } } Method [ <internal:Reflection> public method setStaticPropertyValue ] { - Parameters [2] { Parameter #0 [ <required> $name ] Parameter #1 [ <required> $value ] } } Method [ <internal:Reflection> public method getDefaultProperties ] { - Parameters [0] { } } Method [ <internal:Reflection> public method isIterateable ] { - Parameters [0] { } } Method [ <internal:Reflection> public method implementsInterface ] { - Parameters [1] { Parameter #0 [ <required> $interface ] } } Method [ <internal:Reflection> public method getExtension ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getExtensionName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method inNamespace ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getNamespaceName ] { - Parameters [0] { } } Method [ <internal:Reflection> public method getShortName ] { - Parameters [0] { } } } } '

preferences:
220.46 ms | 417 KiB | 198 Q