Home
last modified time | relevance | path

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

/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_hasConstant_002.phpt2 ReflectionClass::hasConstant() - error cases
14 var_dump($rc->hasConstant(null));
15 var_dump($rc->hasConstant(1));
16 var_dump($rc->hasConstant(1.5));
17 var_dump($rc->hasConstant(true));
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 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.phpt160 Method [ <internal:Reflection> public method hasConstant ] {
/PHP-8.0/ext/reflection/
H A Dphp_reflection.stub.php263 public function hasConstant(string $name) {} function in ReflectionClass
H A Dphp_reflection_arginfo.h573 ZEND_METHOD(ReflectionClass, hasConstant);
813 ZEND_ME(ReflectionClass, hasConstant, arginfo_class_ReflectionClass_hasConstant, ZEND_ACC_PUBLIC)
H A Dphp_reflection.c4441 ZEND_METHOD(ReflectionClass, hasConstant) in ZEND_METHOD() argument

Completed in 30 milliseconds