Home
last modified time | relevance | path

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

/php-src/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.phpt204 Method [ <internal:Reflection> public method getConstant ] {
/php-src/Zend/tests/traits/
H A Dconstant_019.phpt15 var_dump($reflection->getConstant('Constant'));
19 var_dump($reflection->getConstant('Constant'));
/php-src/ext/intl/tests/
H A Dspoofchecker_007.phpt9 if (false === $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE")) {
/php-src/ext/reflection/
H A Dphp_reflection.stub.php322 …public function getConstant(string $name): mixed {} // TODO throw exception when the constant does… function in ReflectionClass
H A Dphp_reflection_arginfo.h810 ZEND_METHOD(ReflectionClass, getConstant);
1101 ZEND_ME(ReflectionClass, getConstant, arginfo_class_ReflectionClass_getConstant, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4734 ZEND_METHOD(ReflectionClass, getConstant) in ZEND_METHOD() argument

Completed in 60 milliseconds