/PHP-8.0/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) { 67 ["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_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_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 53 ReflectionClass::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array g… [all …]
|
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 | 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 | 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 | 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 | bug76737.phpt | 7 $r = new ReflectionClass('stdClass'); 13 $s = 'C:15:"ReflectionClass":0:{}'; 19 $s = 'O:15:"ReflectionClass":0:{}'; 27 Serialization of 'ReflectionClass' is not allowed 28 Unserialization of 'ReflectionClass' is not allowed 30 Warning: Erroneous data format for unserializing 'ReflectionClass' in %s on line %d
|
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_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_isAnonymous.phpt | 2 ReflectionClass::isAnonymous() method 8 $declaredClass = new ReflectionClass('TestClass'); 9 $anonymousClass = new ReflectionClass(new class {});
|
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_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 52 ReflectionClass::setStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
|
H A D | ReflectionClass_getReflectionConstant.phpt | 2 Test ReflectionClass::getReflectionConstant method 7 $refleClass = new ReflectionClass(ReflectionClass::class);
|
H A D | bug30961.phpt | 2 Reflection Bug #30961 (Wrong linenumber in ReflectionClass getStartLine()) 13 $ref1 = new ReflectionClass('a'); 14 $ref2 = new ReflectionClass('b');
|
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_getName_error1.phpt | 2 ReflectionClass::getName - forbid static invocation 5 ReflectionClass::getName(); 8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
|
H A D | ReflectionClass_newInstanceArgs_002.phpt | 2 ReflectionClass::newInstanceArgs() - wrong arg type 13 $rc = new ReflectionClass('A'); 19 Fatal error: Uncaught TypeError: ReflectionClass::newInstanceArgs(): Argument #1 ($args) must be of… 21 #0 %s(%d): ReflectionClass->newInstanceArgs('x')
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection_arginfo.h | 496 ZEND_METHOD(ReflectionClass, __clone); 555 ZEND_METHOD(ReflectionClass, __toString); 556 ZEND_METHOD(ReflectionClass, getName); 557 ZEND_METHOD(ReflectionClass, isInternal); 564 ZEND_METHOD(ReflectionClass, getEndLine); 567 ZEND_METHOD(ReflectionClass, hasMethod); 568 ZEND_METHOD(ReflectionClass, getMethod); 569 ZEND_METHOD(ReflectionClass, getMethods); 581 ZEND_METHOD(ReflectionClass, getTraits); 584 ZEND_METHOD(ReflectionClass, isTrait); [all …]
|
H A D | php_reflection.stub.php | 48 /** @return ReflectionClass|null */ 51 /** @return ReflectionClass|null */ 193 /** @return ReflectionClass */ 277 /** @return ReflectionClass[] */ 286 /** @return ReflectionClass[] */ 319 /** @return ReflectionClass|false */ 414 /** @return ReflectionClass */ 465 /** @return ReflectionClass */ 497 /** @return ReflectionClass|null */ 501 * @return ReflectionClass|null [all …]
|