Home
last modified time | relevance | path

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

12345678910>>...21

/php-src/ext/reflection/tests/
H A DReflectionExtension_getClasses_basic.phpt13 object(ReflectionClass)#%d (1) {
18 object(ReflectionClass)#%d (1) {
23 object(ReflectionClass)#%d (1) {
28 object(ReflectionClass)#%d (1) {
33 object(ReflectionClass)#%d (1) {
38 object(ReflectionClass)#%d (1) {
43 object(ReflectionClass)#%d (1) {
48 object(ReflectionClass)#%d (1) {
53 object(ReflectionClass)#%d (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
15 $r = new ReflectionClass($c);
35 object(ReflectionClass)#1 (1) {
50 object(ReflectionClass)#2 (1) {
55 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_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
/php-src/Zend/tests/lazy_objects/
H A Drealize_no_props.phpt14 var_dump((new ReflectionClass($obj::class))->isUninitializedLazyObject($obj));
17 var_dump((new ReflectionClass($obj2::class))->isUninitializedLazyObject($obj2));
20 var_dump((new ReflectionClass($obj3::class))->isUninitializedLazyObject($obj3));
25 (new ReflectionClass($obj))->resetAsLazyGhost($obj, function ($obj) {
31 (new ReflectionClass($obj2))->resetAsLazyGhost($obj2, function ($obj2) {
35 $obj3 = (new ReflectionClass(C::class))->newLazyGhost(function () {
42 (new ReflectionClass($obj))->resetAsLazyProxy($obj, function ($obj) {
48 (new ReflectionClass($obj2))->resetAsLazyProxy($obj2, function ($obj2) {
52 $obj3 = (new ReflectionClass(C::class))->newLazyGhost(function () {
H A Dinvalid_options.phpt10 $reflector = new ReflectionClass(C::class);
26 $obj = $reflector->newLazyGhost(function ($obj) { }, ReflectionClass::SKIP_DESTRUCTOR);
47 ReflectionException: ReflectionClass::newLazyGhost(): Argument #2 ($options) contains invalid flags
48 ReflectionException: ReflectionClass::newLazyProxy(): Argument #2 ($options) contains invalid flags
49 ReflectionException: ReflectionClass::newLazyGhost(): Argument #2 ($options) does not accept Reflec…
50 ReflectionException: ReflectionClass::resetAsLazyGhost(): Argument #3 ($options) contains invalid f…
51 ReflectionException: ReflectionClass::resetAsLazyProxy(): Argument #3 ($options) contains invalid f…
/php-src/ext/reflection/
H A Dphp_reflection_arginfo.h723 ZEND_METHOD(ReflectionClass, __clone);
789 ZEND_METHOD(ReflectionClass, __toString);
790 ZEND_METHOD(ReflectionClass, getName);
791 ZEND_METHOD(ReflectionClass, isInternal);
798 ZEND_METHOD(ReflectionClass, getEndLine);
801 ZEND_METHOD(ReflectionClass, hasMethod);
802 ZEND_METHOD(ReflectionClass, getMethod);
815 ZEND_METHOD(ReflectionClass, getTraits);
818 ZEND_METHOD(ReflectionClass, isTrait);
819 ZEND_METHOD(ReflectionClass, isEnum);
[all …]

Completed in 33 milliseconds

12345678910>>...21