Searched refs:hasConstant (Results 1 – 6 of 6) sorted by relevance
2 ReflectionClass::hasConstant() - error cases14 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 …]
2 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"));
2 ReflectionClass::hasConstant9 var_dump($class->hasConstant("c1"));10 var_dump($class->hasConstant("c2"));
2 ReflectionClass::hasConstant()12 var_dump($rc->hasConstant('foo'));15 var_dump($rc->hasConstant('bar'));
165 Method [ <internal:Reflection> public method hasConstant ] {
4410 ZEND_METHOD(reflection_class, hasConstant) in ZEND_METHOD() argument6378 ZEND_ME(reflection_class, hasConstant, arginfo_reflection_class_hasConstant, 0)
Completed in 26 milliseconds