Searched refs:getConstant (Results 1 – 14 of 14) sorted by relevance
2 Bug #38653 (memory leak in ReflectionClass::getConstant())16 var_dump($foo->getConstant("cons"));17 var_dump($foo->getConstant("cons1"));18 var_dump($foo->getConstant("cons2"));19 var_dump($foo->getConstant("no such const"));
2 ReflectionClass::getConstant() - bad params11 var_dump($rc->getConstant(1));12 var_dump($rc->getConstant(1.5));13 var_dump($rc->getConstant(true));
2 ReflectionClass::getConstant9 var_dump($class->getConstant("c1"));10 var_dump($class->getConstant("c2"));
2 ReflectionClass::getConstant()22 var_dump($rc->getConstant('a'));23 var_dump($rc->getConstant('doesnotexist'));
2 Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants21 print_r($rc->getConstant('B'));
2 ReflectionObject::getConstant() basic function test22 var_dump($rc->getConstant('a'));23 var_dump($rc->getConstant('doesNotexist'));
17 $r->getConstant("LIST")
41 'UMLClass::getConstant',
202 Method [ <internal:Reflection> public method getConstant ] {
15 var_dump($reflection->getConstant('Constant'));19 var_dump($reflection->getConstant('Constant'));
9 if (false === $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE")) {
349 public function getConstant(string $name): mixed {} function in ReflectionClass
696 ZEND_METHOD(ReflectionClass, getConstant);964 ZEND_ME(ReflectionClass, getConstant, arginfo_class_ReflectionClass_getConstant, ZEND_ACC_PUBLIC)
4800 ZEND_METHOD(ReflectionClass, getConstant) in ZEND_METHOD() argument
Completed in 42 milliseconds