Searched refs:getConstant (Results 1 – 12 of 12) sorted by relevance
/PHP-7.0/ext/reflection/tests/ |
H A D | ReflectionObject_getConstant_error.phpt | 2 ReflectionObject::getConstant() - invalid params 10 var_dump($rc->getConstant()); 11 var_dump($rc->getConstant("myConst", "myConst")); 12 var_dump($rc->getConstant(null)); 13 var_dump($rc->getConstant(1)); 14 var_dump($rc->getConstant(1.5)); 15 var_dump($rc->getConstant(true)); 16 var_dump($rc->getConstant(array(1,2,3))); 17 var_dump($rc->getConstant(new C)); 20 Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 0 given in %s on line 7 [all …]
|
H A D | ReflectionClass_getConstant_error.phpt | 2 ReflectionClass::getConstant() - bad params 11 var_dump($rc->getConstant()); 12 var_dump($rc->getConstant("myConst", "myConst")); 13 var_dump($rc->getConstant(null)); 14 var_dump($rc->getConstant(1)); 15 var_dump($rc->getConstant(1.5)); 16 var_dump($rc->getConstant(true)); 17 var_dump($rc->getConstant(array(1,2,3))); 18 var_dump($rc->getConstant(new C)); 23 Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 0 given in %s on line 8 [all …]
|
H A D | bug38653.phpt | 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"));
|
H A D | bug72846.phpt | 2 Bug #72846 (getConstant for a array constant with constant values returns NULL/NFC/UKNOWN) 30 var_dump($ref->getConstant('ONE')); 31 var_dump($ref->getConstant('CONST_NUMBERS')); 32 var_dump($ref->getConstant('NUMBERS'));
|
H A D | 022.phpt | 2 ReflectionClass::getConstant 11 var_dump($class->getConstant("c1")); 12 var_dump($class->getConstant("c2"));
|
H A D | ReflectionObject_getConstant_basic.phpt | 2 ReflectionObject::getConstant() basic function test 22 var_dump($rc->getConstant('a')); 23 var_dump($rc->getConstant('doesntexist'));
|
H A D | bug53915.phpt | 2 Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants 21 print_r($rc->getConstant('B'));
|
H A D | ReflectionClass_getConstant_basic.phpt | 22 var_dump($rc->getConstant('a')); 23 var_dump($rc->getConstant('doesntexist'));
|
H A D | 001.phpt | 42 'UMLClass::getConstant',
|
H A D | ReflectionClass_toString_001.phpt | 178 Method [ <internal:Reflection> public method getConstant ] {
|
/PHP-7.0/ext/reflection/ |
H A D | php_reflection.c | 4445 ZEND_METHOD(reflection_class, getConstant) in ZEND_METHOD() argument 6340 ZEND_ME(reflection_class, getConstant, arginfo_reflection_class_getConstant, 0)
|
/PHP-7.0/ |
H A D | NEWS | 1146 . Fixed bug #72846 (getConstant for a array constant with constant values
|
Completed in 43 milliseconds