Home
last modified time | relevance | path

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

/PHP-8.1/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 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 Dbug81457.phpt2 Bug #81457: Enum ReflectionMethod->getDeclaringClass() return a ReflectionClass
16 echo $me->getDeclaringClass()::class, "\n";
21 echo $mc->getDeclaringClass()::class, "\n";
H A Dparameters_002.phpt83 getDeclaringClass: NULL
96 getDeclaringClass: NULL
109 getDeclaringClass: NULL
122 getDeclaringClass: NULL
135 getDeclaringClass: NULL
148 getDeclaringClass: NULL
162 getDeclaringClass: NULL
177 getDeclaringClass: test
190 getDeclaringClass: test
203 getDeclaringClass: test
[all …]
H A DReflectionClassConstant_basic1.phpt2 …getValue(), isPublic(), isPrivate(), isProtected(), getModifiers(), getDeclaringClass() and getDoc…
27 echo "getDeclaringClass():\n";
28 var_dump($constInfo->getDeclaringClass());
72 getDeclaringClass():
101 getDeclaringClass():
130 getDeclaringClass():
159 getDeclaringClass():
188 getDeclaringClass():
H A DReflectionProperty_getDeclaringClass_variation1.phpt2 Test ReflectionProperty::getDeclaringClass() with inherited properties.
14 var_dump($propInfo->getDeclaringClass());
H A Dbug39001.phpt19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName());
20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
H A Dbug77325.phpt17 var_dump($constant->getDeclaringClass()->getName());
22 var_dump($constant->getDeclaringClass()->getName());
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";
H A Dbug80190.phpt26 print $method->getDeclaringClass()->getName() . '::' . $method->getName() . '()' . PHP_EOL;
/PHP-8.1/ext/reflection/
H A Dphp_reflection.stub.php205 public function getDeclaringClass(): ReflectionClass {} function in ReflectionMethod
436 public function getDeclaringClass(): ReflectionClass {} function in ReflectionProperty
492 public function getDeclaringClass(): ReflectionClass {} function in ReflectionClassConstant
528 public function getDeclaringClass(): ?ReflectionClass {} function in ReflectionParameter
H A Dphp_reflection_arginfo.h662 ZEND_METHOD(ReflectionMethod, getDeclaringClass);
733 ZEND_METHOD(ReflectionProperty, getDeclaringClass);
750 ZEND_METHOD(ReflectionClassConstant, getDeclaringClass);
760 ZEND_METHOD(ReflectionParameter, getDeclaringClass);
921 …ZEND_ME(ReflectionMethod, getDeclaringClass, arginfo_class_ReflectionMethod_getDeclaringClass, ZEN…
1010 …ZEND_ME(ReflectionProperty, getDeclaringClass, arginfo_class_ReflectionProperty_getDeclaringClass,…
1033 …ZEND_ME(ReflectionClassConstant, getDeclaringClass, arginfo_class_ReflectionClassConstant_getDecla…
1049 …ZEND_ME(ReflectionParameter, getDeclaringClass, arginfo_class_ReflectionParameter_getDeclaringClas…
H A Dphp_reflection.c2619 ZEND_METHOD(ReflectionParameter, getDeclaringClass) in ZEND_METHOD() argument
3671 ZEND_METHOD(ReflectionMethod, getDeclaringClass) in ZEND_METHOD() argument
3882 ZEND_METHOD(ReflectionClassConstant, getDeclaringClass) in ZEND_METHOD() argument
5700 ZEND_METHOD(ReflectionProperty, getDeclaringClass) in ZEND_METHOD() argument
/PHP-8.1/
H A DNEWS1835 . Fixed bug #81457 (Enum: ReflectionMethod->getDeclaringClass() return a

Completed in 39 milliseconds