Home
last modified time | relevance | path

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

/php-src/ext/reflection/tests/
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("doesNotExist"));
27 var_dump($rd->hasConstant("myConst"));
29 var_dump($rd->hasConstant("doesNotExist"));
H A DReflectionClass_hasConstant_002.phpt2 ReflectionClass::hasConstant() - error cases
14 var_dump($rc->hasConstant(1));
15 var_dump($rc->hasConstant(1.5));
16 var_dump($rc->hasConstant(true));
H A D021.phpt2 ReflectionClass::hasConstant
9 var_dump($class->hasConstant("c1"));
10 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.phpt180 Method [ <internal:Reflection> public method hasConstant ] {
/php-src/ext/reflection/
H A Dphp_reflection.stub.php313 public function hasConstant(string $name): bool {} function in ReflectionClass
H A Dphp_reflection_arginfo.h807 ZEND_METHOD(ReflectionClass, hasConstant);
1098 ZEND_ME(ReflectionClass, hasConstant, arginfo_class_ReflectionClass_hasConstant, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4648 ZEND_METHOD(ReflectionClass, hasConstant) in ZEND_METHOD() argument

Completed in 39 milliseconds