Lines Matching refs:hasMethod
2 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
29 Warning: ReflectionClass::hasMethod() expects exactly 1 parameter, 2 given in %s on line 9
36 Warning: ReflectionClass::hasMethod() expects parameter 1 to be string, array given in %s on line 14
39 Warning: ReflectionClass::hasMethod() expects parameter 1 to be string, object given in %s on line …