Home
last modified time | relevance | path

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

/PHP-7.0/ext/reflection/tests/
H A DReflectionObject_getConstant_error.phpt2 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 DReflectionClass_getConstant_error.phpt2 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 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 Dbug72846.phpt2 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 D022.phpt2 ReflectionClass::getConstant
11 var_dump($class->getConstant("c1"));
12 var_dump($class->getConstant("c2"));
H A DReflectionObject_getConstant_basic.phpt2 ReflectionObject::getConstant() basic function test
22 var_dump($rc->getConstant('a'));
23 var_dump($rc->getConstant('doesntexist'));
H A Dbug53915.phpt2 Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants
21 print_r($rc->getConstant('B'));
H A DReflectionClass_getConstant_basic.phpt22 var_dump($rc->getConstant('a'));
23 var_dump($rc->getConstant('doesntexist'));
H A D001.phpt42 'UMLClass::getConstant',
H A DReflectionClass_toString_001.phpt178 Method [ <internal:Reflection> public method getConstant ] {
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c4445 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 DNEWS1146 . Fixed bug #72846 (getConstant for a array constant with constant values

Completed in 43 milliseconds