/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionExtension_getClasses_basic.phpt | 13 object(ReflectionClass)#2 (1) { 18 object(ReflectionClass)#3 (1) { 23 object(ReflectionClass)#4 (1) { 28 object(ReflectionClass)#5 (1) { 33 object(ReflectionClass)#6 (1) { 38 object(ReflectionClass)#7 (1) { 43 object(ReflectionClass)#8 (1) { 48 object(ReflectionClass)#9 (1) { 53 object(ReflectionClass)#10 (1) { 72 ["ReflectionClass"]=> [all …]
|
H A D | ReflectionClass_getInterfaces_001.phpt | 2 ReflectionClass::getInterfaces() 81 [I3] => ReflectionClass Object 90 [I3] => ReflectionClass Object 95 [I4] => ReflectionClass Object 104 [I1] => ReflectionClass Object 109 [I2] => ReflectionClass Object 114 [I3] => ReflectionClass Object 119 [I4] => ReflectionClass Object 124 [I5] => ReflectionClass Object 133 [I1] => ReflectionClass Object [all …]
|
H A D | ReflectionClass_constructor_002.phpt | 2 ReflectionClass::__constructor() - bad arguments 6 var_dump(new ReflectionClass()); 12 var_dump(new ReflectionClass(null)); 18 var_dump(new ReflectionClass(true)); 24 var_dump(new ReflectionClass(1)); 30 var_dump(new ReflectionClass(array(1,2,3))); 36 var_dump(new ReflectionClass("stdClass", 1)); 42 var_dump(new ReflectionClass("X")); 49 ReflectionClass::__construct() expects exactly 1 argument, 0 given 55 ReflectionClass::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array g… [all …]
|
H A D | ReflectionClass_isInternal_basic.phpt | 2 ReflectionClass::isInternal() 8 $r1 = new ReflectionClass("stdClass"); 9 $r2 = new ReflectionClass("ReflectionClass"); 10 $r3 = new ReflectionClass("ReflectionProperty"); 11 $r4 = new ReflectionClass("Exception"); 12 $r5 = new ReflectionClass("C");
|
H A D | ReflectionClass_isUserDefined_basic.phpt | 2 ReflectionClass::isUserDefined() 8 $r1 = new ReflectionClass("stdClass"); 9 $r2 = new ReflectionClass("ReflectionClass"); 10 $r3 = new ReflectionClass("ReflectionProperty"); 11 $r4 = new ReflectionClass("Exception"); 12 $r5 = new ReflectionClass("C");
|
H A D | ReflectionClass_constructor_001.phpt | 2 ReflectionClass::__constructor() 5 $r1 = new ReflectionClass("stdClass"); 8 $r2 = new ReflectionClass($myInstance); 17 $r3 = new ReflectionClass($myTrickClass); 22 object(ReflectionClass)#%d (1) { 26 object(ReflectionClass)#%d (1) { 30 object(ReflectionClass)#%d (1) {
|
H A D | ReflectionClass_getInterfaces_002.phpt | 2 ReflectionClass::getInterfaces() - interface ordering. 16 $rc = new ReflectionClass('I7'); 23 [I6] => ReflectionClass Object 28 [I4] => ReflectionClass Object 33 [I3] => ReflectionClass Object 38 [I2] => ReflectionClass Object 43 [I1] => ReflectionClass Object 48 [I5] => ReflectionClass Object
|
H A D | bug76737.phpt | 7 $r = new ReflectionClass('stdClass'); 13 $s = 'C:15:"ReflectionClass":0:{}'; 19 $s = 'O:15:"ReflectionClass":0:{}'; 26 Serialization of 'ReflectionClass' is not allowed 27 Unserialization of 'ReflectionClass' is not allowed 28 Unserialization of 'ReflectionClass' is not allowed
|
H A D | ReflectionObject_isSubclassOf_basic.phpt | 16 $rcs[$className] = new ReflectionClass($className); 42 - Using ReflectionClass object argument: bool(false) 46 - Using ReflectionClass object argument: bool(false) 50 - Using ReflectionClass object argument: bool(false) 54 - Using ReflectionClass object argument: bool(false) 57 - Using ReflectionClass object argument: bool(false) 61 - Using ReflectionClass object argument: bool(true) 65 - Using ReflectionClass object argument: bool(false) 69 - Using ReflectionClass object argument: bool(false) 80 - Using ReflectionClass object argument: bool(true) [all …]
|
H A D | traits004.phpt | 2 ReflectionClass::getTraits() and ReflectionClass::getTraitNames 14 $r = new ReflectionClass($c); 34 object(ReflectionClass)#1 (1) { 49 object(ReflectionClass)#2 (1) { 54 object(ReflectionClass)#3 (1) {
|
H A D | ReflectionClass_newInstanceWithoutConstructor.phpt | 2 ReflectionClass::newInstanceWithoutConstructor() 15 $class = new ReflectionClass('Foo'); 18 $class = new ReflectionClass('StdClass'); 21 $class = new ReflectionClass('DateTime'); 24 $class = new ReflectionClass('Generator'); 34 $class = new ReflectionClass('Bar');
|
H A D | bug45139.phpt | 22 $rc = new ReflectionClass('C'); 26 $rc = new ReflectionClass('A'); 30 $rc = new ReflectionClass('B'); 34 $rc = new ReflectionClass('C'); 38 $rc = new ReflectionClass('C'); 42 $rc = new ReflectionClass('B'); 46 $rc = new ReflectionClass('C');
|
H A D | ReflectionClass_isCloneable_002.phpt | 2 Testing ReflectionClass::isCloneable() with non instantiable objects 8 $obj = new ReflectionClass('foo'); 13 $obj = new ReflectionClass('bar'); 18 $obj = new ReflectionClass('baz');
|
H A D | ReflectionClass_setStaticPropertyValue_002.phpt | 2 ReflectionClass::setStaticPropertyValue() - bad params 12 $rc = new ReflectionClass('C'); 47 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 3 given 48 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 0 given 49 ReflectionClass::setStaticPropertyValue() expects exactly 2 arguments, 1 given 51 Deprecated: ReflectionClass::setStaticPropertyValue(): Passing null to parameter #1 ($name) of type… 54 ReflectionClass::setStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
|
H A D | ReflectionClass_getName_basic.phpt | 2 ReflectionClass::getName() 12 $r1 = new ReflectionClass("stdClass"); 15 $r2 = new ReflectionClass($myInstance); 17 $r3 = new ReflectionClass("TrickClass");
|
H A D | ReflectionClass_isInterface_basic.phpt | 2 ReflectionClass::isInterface() method 13 $reflectionClass = new ReflectionClass('TestInterface'); 14 $reflectionClass2 = new ReflectionClass('TestClass'); 15 $reflectionClass3 = new ReflectionClass('DerivedInterface');
|
H A D | ReflectionClass_getStaticPropertyValue_002.phpt | 2 ReflectionClass::getStaticPropertyValue() - bad params 12 $rc = new ReflectionClass('C'); 42 ReflectionClass::getStaticPropertyValue() expects at most 2 arguments, 3 given 43 ReflectionClass::getStaticPropertyValue() expects at least 1 argument, 0 given 45 Deprecated: ReflectionClass::getStaticPropertyValue(): Passing null to parameter #1 ($name) of type… 48 ReflectionClass::getStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
|
H A D | ReflectionClass_FileInfo_basic.phpt | 2 ReflectionClass::getFileName(), ReflectionClass::getStartLine(), ReflectionClass::getEndLine() 6 $rc = new ReflectionClass("C"); 18 $rc = new ReflectionClass("stdClass");
|
H A D | ReflectionClass_isAnonymous.phpt | 2 ReflectionClass::isAnonymous() method 8 $declaredClass = new ReflectionClass('TestClass'); 9 $anonymousClass = new ReflectionClass(new class {});
|
H A D | bug63399.phpt | 2 Bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames) 25 $ref = new ReflectionClass('MyClass'); 39 [Trait1] => ReflectionClass Object 44 [Trait2] => ReflectionClass Object
|
H A D | ReflectionClass_getMethod_002.phpt | 2 ReflectionClass::getMethod() - error cases 12 $rc = new ReflectionClass("C"); 59 ReflectionClass::getMethod() expects exactly 1 argument, 0 given 60 ReflectionClass::getMethod() expects exactly 1 argument, 2 given 62 Deprecated: ReflectionClass::getMethod(): Passing null to parameter #1 ($name) of type string is de… 67 ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, array given 68 ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, C given
|
H A D | ReflectionClass_getProperty_002.phpt | 2 ReflectionClass::getProperty() - error cases 12 $rc = new ReflectionClass("C"); 57 ReflectionClass::getProperty() expects exactly 1 argument, 0 given 58 ReflectionClass::getProperty() expects exactly 1 argument, 2 given 60 Deprecated: ReflectionClass::getProperty(): Passing null to parameter #1 ($name) of type string is … 65 ReflectionClass::getProperty(): Argument #1 ($name) must be of type string, array given 66 ReflectionClass::getProperty(): Argument #1 ($name) must be of type string, C given
|
H A D | ReflectionClass_getReflectionConstant.phpt | 2 Test ReflectionClass::getReflectionConstant method 7 $refleClass = new ReflectionClass(ReflectionClass::class);
|
H A D | ReflectionClass_isEnum.phpt | 2 Testing ReflectionClass::isEnum() 11 $fooReflection = new ReflectionClass(Foo::class); 12 $barReflection = new ReflectionClass(Bar::class);
|
/PHP-8.1/ext/reflection/ |
H A D | php_reflection_arginfo.h | 604 ZEND_METHOD(ReflectionClass, __clone); 666 ZEND_METHOD(ReflectionClass, __toString); 667 ZEND_METHOD(ReflectionClass, getName); 668 ZEND_METHOD(ReflectionClass, isInternal); 675 ZEND_METHOD(ReflectionClass, getEndLine); 678 ZEND_METHOD(ReflectionClass, hasMethod); 679 ZEND_METHOD(ReflectionClass, getMethod); 692 ZEND_METHOD(ReflectionClass, getTraits); 695 ZEND_METHOD(ReflectionClass, isTrait); 696 ZEND_METHOD(ReflectionClass, isEnum); [all …]
|