Home
last modified time | relevance | path

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

1234567891011

/PHP-8.0/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) {
67 ["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_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_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
53 ReflectionClass::__construct(): Argument #1 ($objectOrClass) must be of type object|string, array g…
[all …]
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 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 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 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 Dbug76737.phpt7 $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 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 DReflectionClass_getName_basic.phpt2 ReflectionClass::getName()
12 $r1 = new ReflectionClass("stdClass");
15 $r2 = new ReflectionClass($myInstance);
17 $r3 = new ReflectionClass("TrickClass");
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_isAnonymous.phpt2 ReflectionClass::isAnonymous() method
8 $declaredClass = new ReflectionClass('TestClass');
9 $anonymousClass = new ReflectionClass(new class {});
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_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
52 ReflectionClass::setStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
H A DReflectionClass_getReflectionConstant.phpt2 Test ReflectionClass::getReflectionConstant method
7 $refleClass = new ReflectionClass(ReflectionClass::class);
H A Dbug30961.phpt2 Reflection Bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
13 $ref1 = new ReflectionClass('a');
14 $ref2 = new ReflectionClass('b');
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_getName_error1.phpt2 ReflectionClass::getName - forbid static invocation
5 ReflectionClass::getName();
8 Fatal error: Uncaught Error: Non-static method ReflectionClass::getName() cannot be called statical…
H A DReflectionClass_newInstanceArgs_002.phpt2 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 Dphp_reflection_arginfo.h496 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 Dphp_reflection.stub.php48 /** @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 …]

Completed in 25 milliseconds

1234567891011