Home
last modified time | relevance | path

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

/PHP-7.3/ext/reflection/tests/
H A DReflectionClass_hasMethod_002.phpt2 ReflectionClass::hasMethod() - error cases
14 var_dump($rc->hasMethod());
15 var_dump($rc->hasMethod("f", "f"));
16 var_dump($rc->hasMethod(null));
17 var_dump($rc->hasMethod(1));
18 var_dump($rc->hasMethod(1.5));
19 var_dump($rc->hasMethod(true));
20 var_dump($rc->hasMethod(array(1,2,3)));
21 var_dump($rc->hasMethod(new C));
26 Warning: ReflectionClass::hasMethod() expects exactly 1 parameter, 0 given in %s on line 8
[all …]
H A DReflectionClass_hasMethod_basic.phpt2 ReflectionClass::hasMethod()
12 var_dump($rc->hasMethod('publicFoo'));
15 var_dump($rc->hasMethod('protectedFoo'));
18 var_dump($rc->hasMethod('privateFoo'));
21 var_dump($rc->hasMethod('staticFoo'));
24 var_dump($rc->hasMethod('bar'));
27 var_dump($rc->hasMethod('PUBLICfOO'));
H A DReflectionClass_hasMethod_001.phpt2 ReflectionClass::hasMethod()
35 var_dump($rc->hasMethod("f"));
37 var_dump($rc->hasMethod("s"));
39 var_dump($rc->hasMethod("F"));
41 var_dump($rc->hasMethod("doesntExist"));
H A Dbug52057.phpt9 var_dump($reflection->hasMethod('__invoke')); // true
12 var_dump($reflection->hasMethod('__invoke')); // true
15 var_dump($reflection->hasMethod('__invoke')); // true
H A DReflectionClass_toString_001.phpt123 Method [ <internal:Reflection> public method hasMethod ] {
/PHP-7.3/ext/sqlite3/tests/
H A Dsqlite3_22_loadextension.phpt7 if (!$r->hasMethod("loadExtension")) {
/PHP-7.3/ext/phar/phar/
H A Dclicommand.inc124 if ($r->hasMethod($func)) {
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c4082 ZEND_METHOD(reflection_class, hasMethod) in ZEND_METHOD() argument
6372 ZEND_ME(reflection_class, hasMethod, arginfo_reflection_class_hasMethod, 0)

Completed in 33 milliseconds