Searched refs:hasConstant (Results 1 – 8 of 8) sorted by relevance
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::hasConstant() - error cases14 var_dump($rc->hasConstant(1));15 var_dump($rc->hasConstant(1.5));16 var_dump($rc->hasConstant(true));
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'));
180 Method [ <internal:Reflection> public method hasConstant ] {
313 public function hasConstant(string $name): bool {} function in ReflectionClass
807 ZEND_METHOD(ReflectionClass, hasConstant);1098 ZEND_ME(ReflectionClass, hasConstant, arginfo_class_ReflectionClass_hasConstant, ZEND_ACC_PUBLIC)
4648 ZEND_METHOD(ReflectionClass, hasConstant) in ZEND_METHOD() argument
Completed in 39 milliseconds