Home
last modified time | relevance | path

Searched refs:getConstant (Results 1 – 15 of 15) sorted by relevance

/PHP-8.3/ext/reflection/tests/
H A Dbug38653.phpt2 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"));
H A DReflectionClass_getConstant_error.phpt2 ReflectionClass::getConstant() - bad params
11 var_dump($rc->getConstant(1));
12 var_dump($rc->getConstant(1.5));
13 var_dump($rc->getConstant(true));
H A D022.phpt2 ReflectionClass::getConstant
9 var_dump($class->getConstant("c1"));
10 var_dump($class->getConstant("c2"));
H A DReflectionClass_getConstant_typed.phpt2 ReflectionClass::getConstant() with typed class constants
16 var_dump($rc->getConstant("CONST1"));
20 $rc->getConstant("CONST1");
H A DReflectionClass_getConstant_basic.phpt2 ReflectionClass::getConstant()
22 var_dump($rc->getConstant('a'));
23 var_dump($rc->getConstant('doesnotexist'));
H A Dbug53915.phpt2 Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants
21 print_r($rc->getConstant('B'));
H A DReflectionObject_getConstant_basic.phpt2 ReflectionObject::getConstant() basic function test
22 var_dump($rc->getConstant('a'));
23 var_dump($rc->getConstant('doesNotexist'));
H A Dgh8080.phpt17 $r->getConstant("LIST")
H A D001.phpt41 'UMLClass::getConstant',
H A DReflectionClass_toString_001.phpt202 Method [ <internal:Reflection> public method getConstant ] {
/PHP-8.3/Zend/tests/traits/
H A Dconstant_019.phpt15 var_dump($reflection->getConstant('Constant'));
19 var_dump($reflection->getConstant('Constant'));
/PHP-8.3/ext/intl/tests/
H A Dspoofchecker_007.phpt9 if (false === $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE")) {
/PHP-8.3/ext/reflection/
H A Dphp_reflection.stub.php351 …public function getConstant(string $name): mixed {} // TODO throw exception when the constant does… function in ReflectionClass
H A Dphp_reflection_arginfo.h704 ZEND_METHOD(ReflectionClass, getConstant);
975 ZEND_ME(ReflectionClass, getConstant, arginfo_class_ReflectionClass_getConstant, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4801 ZEND_METHOD(ReflectionClass, getConstant) in ZEND_METHOD() argument

Completed in 111 milliseconds