Home
last modified time | relevance | path

Searched refs:hasConstant (Results 1 – 6 of 6) sorted by relevance

/PHP-7.2/ext/reflection/tests/
H A DReflectionClass_hasConstant_002.phpt2 ReflectionClass::hasConstant() - error cases
14 var_dump($rc->hasConstant());
15 var_dump($rc->hasConstant("myConst", "myConst"));
16 var_dump($rc->hasConstant(null));
17 var_dump($rc->hasConstant(1));
18 var_dump($rc->hasConstant(1.5));
19 var_dump($rc->hasConstant(true));
20 var_dump($rc->hasConstant(array(1,2,3)));
21 var_dump($rc->hasConstant(new C));
26 Warning: ReflectionClass::hasConstant() expects exactly 1 parameter, 0 given in %s on line 8
[all …]
H A DReflectionClass_hasConstant_001.phpt2 ReflectionClass::hasConstant()
18 var_dump($rc->hasConstant("myConst"));
20 var_dump($rc->hasConstant("MyCoNsT"));
22 var_dump($rc->hasConstant("doesntExist"));
27 var_dump($rd->hasConstant("myConst"));
29 var_dump($rd->hasConstant("doesntExist"));
H A D021.phpt2 ReflectionClass::hasConstant
11 var_dump($class->hasConstant("c1"));
12 var_dump($class->hasConstant("c2"));
H A DReflectionClass_hasConstant_basic.phpt2 ReflectionClass::hasConstant()
12 var_dump($rc->hasConstant('foo'));
15 var_dump($rc->hasConstant('bar'));
H A DReflectionClass_toString_001.phpt165 Method [ <internal:Reflection> public method hasConstant ] {
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c4468 ZEND_METHOD(reflection_class, hasConstant) in ZEND_METHOD() argument
6478 ZEND_ME(reflection_class, hasConstant, arginfo_reflection_class_hasConstant, 0)

Completed in 34 milliseconds