Home
last modified time | relevance | path

Searched refs:ReflectionClass (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/PHP-8.2/ext/reflection/tests/
H A DReflectionExtension_getClasses_basic.phpt13 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 DReflectionClass_getInterfaces_001.phpt2 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 DReflectionClass_constructor_002.phpt2 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 DReflectionClass_isInternal_basic.phpt2 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 DReflectionClass_isUserDefined_basic.phpt2 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 DReflectionClass_constructor_001.phpt2 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 DReflectionClass_getInterfaces_002.phpt2 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 Dbug76737.phpt7 $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 DReflectionObject_isSubclassOf_basic.phpt16 $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 Dtraits004.phpt2 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 DReflectionClass_newInstanceWithoutConstructor.phpt2 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 Dbug45139.phpt22 $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 DReflectionClass_isCloneable_002.phpt2 Testing ReflectionClass::isCloneable() with non instantiable objects
8 $obj = new ReflectionClass('foo');
13 $obj = new ReflectionClass('bar');
18 $obj = new ReflectionClass('baz');
H A Dreadonly_class.phpt12 $foo = new ReflectionClass(Foo::class);
14 var_dump(($foo->getModifiers() & ReflectionClass::IS_READONLY) != 0);
16 $bar = new ReflectionClass(Bar::class);
18 var_dump(($bar->getModifiers() & ReflectionClass::IS_READONLY) != 0);
H A DReflectionClass_getName_basic.phpt2 ReflectionClass::getName()
12 $r1 = new ReflectionClass("stdClass");
15 $r2 = new ReflectionClass($myInstance);
17 $r3 = new ReflectionClass("TrickClass");
H A DReflectionClass_setStaticPropertyValue_002.phpt2 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 DReflectionClass_isInterface_basic.phpt2 ReflectionClass::isInterface() method
13 $reflectionClass = new ReflectionClass('TestInterface');
14 $reflectionClass2 = new ReflectionClass('TestClass');
15 $reflectionClass3 = new ReflectionClass('DerivedInterface');
H A DReflectionClass_getStaticPropertyValue_002.phpt2 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 DReflectionClass_FileInfo_basic.phpt2 ReflectionClass::getFileName(), ReflectionClass::getStartLine(), ReflectionClass::getEndLine()
6 $rc = new ReflectionClass("C");
18 $rc = new ReflectionClass("stdClass");
H A DReflectionClass_isAnonymous.phpt2 ReflectionClass::isAnonymous() method
8 $declaredClass = new ReflectionClass('TestClass');
9 $anonymousClass = new ReflectionClass(new class {});
H A Dbug63399.phpt2 Bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames)
25 $ref = new ReflectionClass('MyClass');
39 [Trait1] => ReflectionClass Object
44 [Trait2] => ReflectionClass Object
H A DReflectionClass_getMethod_002.phpt2 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 DReflectionClass_getProperty_002.phpt2 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 DReflectionClass_getReflectionConstant.phpt2 Test ReflectionClass::getReflectionConstant method
7 $refleClass = new ReflectionClass(ReflectionClass::class);
/PHP-8.2/ext/reflection/
H A Dphp_reflection_arginfo.h611 ZEND_METHOD(ReflectionClass, __clone);
675 ZEND_METHOD(ReflectionClass, __toString);
676 ZEND_METHOD(ReflectionClass, getName);
677 ZEND_METHOD(ReflectionClass, isInternal);
684 ZEND_METHOD(ReflectionClass, getEndLine);
687 ZEND_METHOD(ReflectionClass, hasMethod);
688 ZEND_METHOD(ReflectionClass, getMethod);
701 ZEND_METHOD(ReflectionClass, getTraits);
704 ZEND_METHOD(ReflectionClass, isTrait);
705 ZEND_METHOD(ReflectionClass, isEnum);
[all …]

Completed in 67 milliseconds

12345678910>>...12