Searched refs:hasConstant (Results 1 – 8 of 8) sorted by relevance
2 ReflectionClass::hasConstant() - error cases14 var_dump($rc->hasConstant(null));15 var_dump($rc->hasConstant(1));16 var_dump($rc->hasConstant(1.5));17 var_dump($rc->hasConstant(true));
2 ReflectionClass::hasConstant()18 var_dump($rc->hasConstant("myConst"));20 var_dump($rc->hasConstant("MyCoNsT"));22 var_dump($rc->hasConstant("doesNotExist"));27 var_dump($rd->hasConstant("myConst"));29 var_dump($rd->hasConstant("doesNotExist"));
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'));
160 Method [ <internal:Reflection> public method hasConstant ] {
263 public function hasConstant(string $name) {} function in ReflectionClass
573 ZEND_METHOD(ReflectionClass, hasConstant);813 ZEND_ME(ReflectionClass, hasConstant, arginfo_class_ReflectionClass_hasConstant, ZEND_ACC_PUBLIC)
4441 ZEND_METHOD(ReflectionClass, hasConstant) in ZEND_METHOD() argument
Completed in 31 milliseconds