Searched refs:getConstant (Results 1 – 15 of 15) 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() with typed class constants16 var_dump($rc->getConstant("CONST1"));20 $rc->getConstant("CONST1");
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',
204 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")) {
322 …public function getConstant(string $name): mixed {} // TODO throw exception when the constant does… function in ReflectionClass
810 ZEND_METHOD(ReflectionClass, getConstant);1101 ZEND_ME(ReflectionClass, getConstant, arginfo_class_ReflectionClass_getConstant, ZEND_ACC_PUBLIC)
4734 ZEND_METHOD(ReflectionClass, getConstant) in ZEND_METHOD() argument
Completed in 60 milliseconds