Home
last modified time | relevance | path

Searched refs:getDeclaringClass (Results 1 – 12 of 12) sorted by relevance

/PHP-7.4/ext/reflection/tests/
H A Dbug45139.phpt24 var_dump($rp->getDeclaringClass()->getName()); // c
28 var_dump($rp->getDeclaringClass()->getName()); // A
32 var_dump($rp->getDeclaringClass()->getName()); // B
36 var_dump($rp->getDeclaringClass()->getName()); // B
40 var_dump($rp->getDeclaringClass()->getName()); // C
44 var_dump($rp->getDeclaringClass()->getName()); // B
48 var_dump($rp->getDeclaringClass()->getName()); // C
H A Dbug39067.phpt2 Bug #39067 (getDeclaringClass() and private properties)
19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
H A Dparameters_002.phpt83 getDeclaringClass: NULL
92 getDeclaringClass: NULL
101 getDeclaringClass: NULL
110 getDeclaringClass: NULL
119 getDeclaringClass: NULL
128 getDeclaringClass: NULL
138 getDeclaringClass: NULL
149 getDeclaringClass: test
158 getDeclaringClass: test
167 getDeclaringClass: test
[all …]
H A DReflectionProperty_getDeclaringClass_variation1.phpt2 Test ReflectionProperty::getDeclaringClass() with inherited properties.
14 var_dump($propInfo->getDeclaringClass());
17 $propInfo->getDeclaringClass(1);
27 Warning: ReflectionProperty::getDeclaringClass() expects exactly 0 parameters, 1 given in %s on lin…
H A DReflectionProperty_basic2.phpt2 Test usage of ReflectionProperty methods isDefault(), getModifiers(), getDeclaringClass() and getDo…
16 echo "getDeclaringClass():\n";
17 var_dump($propInfo->getDeclaringClass());
47 getDeclaringClass():
63 getDeclaringClass():
79 getDeclaringClass():
97 getDeclaringClass():
H A DReflectionMethod_getDeclaringClass_basic.phpt2 ReflectionMethod::getDeclaringClass()
15 var_dump($methodInfo->getDeclaringClass());
18 var_dump($methodInfo->getDeclaringClass());
H A Dbug39001.phpt19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName());
20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
H A DReflectionClassConstant_basic1.phpt2 …getValue(), isPublic(), isPrivate(), isProtected(), getModifiers(), getDeclaringClass() and getDoc…
29 echo "getDeclaringClass():\n";
30 var_dump($constInfo->getDeclaringClass());
81 getDeclaringClass():
119 getDeclaringClass():
157 getDeclaringClass():
195 getDeclaringClass():
H A Dbug48336.phpt2 Bug #48286 (ReflectionProperty::getDeclaringClass() does not work with redeclared properties)
31 print($rp->getDeclaringClass()->getName());
H A Dbug38465.phpt26 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
39 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
H A Dbug36434.phpt25 echo $p->getName(). " ". $p->getDeclaringClass()->getName()."\n";
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c2486 ZEND_METHOD(reflection_parameter, getDeclaringClass) in ZEND_METHOD() argument
3440 ZEND_METHOD(reflection_method, getDeclaringClass) in ZEND_METHOD() argument
3650 ZEND_METHOD(reflection_class_constant, getDeclaringClass) in ZEND_METHOD() argument
5606 ZEND_METHOD(reflection_property, getDeclaringClass) in ZEND_METHOD() argument
6461 ZEND_ME(reflection_method, getDeclaringClass, arginfo_reflection__void, 0)
6660 ZEND_ME(reflection_property, getDeclaringClass, arginfo_reflection__void, 0)
6690 ZEND_ME(reflection_class_constant, getDeclaringClass, arginfo_reflection__void, 0)
6715 ZEND_ME(reflection_parameter, getDeclaringClass, arginfo_reflection__void, 0)

Completed in 29 milliseconds