Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 28) sorted by relevance

12

/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getMethod_002.phpt2 ReflectionClass::getMethod() - error cases
15 var_dump($rc->getMethod());
20 var_dump($rc->getMethod("f", "f"));
25 var_dump($rc->getMethod(null));
30 var_dump($rc->getMethod(1));
35 var_dump($rc->getMethod(1.5));
40 var_dump($rc->getMethod(true));
45 var_dump($rc->getMethod(array(1,2,3)));
50 var_dump($rc->getMethod(new C));
60 Warning: ReflectionClass::getMethod() expects exactly 1 parameter, 0 given in %s on line 9
[all …]
H A Dbug30209.phpt2 Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute)
16 $method = $class->getMethod($this->name);
H A Dbug29828.phpt22 var_dump($r->getMethod('bla')->isConstructor());
23 var_dump($r->getMethod('bla')->isAbstract());
H A Dbug52057.phpt18 var_dump($h = $reflection->getMethod('__invoke')); // true
22 var_dump($h = $reflection->getMethod('__invoke')); // true
26 var_dump($h = $reflection->getMethod('__invoke')); // true
H A DReflectionMethod_getClosureThis.phpt27 $method = $staticclass->getMethod( 'foo' );
33 $method = $class->getMethod( 'foo' );
H A DReflectionClass_getMethod_001.phpt2 ReflectionClass::getMethod()
35 var_dump($rc->getMethod("f"));
37 var_dump($rc->getMethod("s"));
39 var_dump($rc->getMethod("F"));
42 var_dump($rc->getMethod("doesntExist"));
H A DReflectionMethod_getClosure_basic.phpt37 $method = $staticclass->getMethod( 'foo' );
41 $method = $class->getMethod( 'foo' );
H A Dbug33312.phpt11 $method = $class->getMethod('bar');
H A Dbug51911.phpt12 $method = $clazz->getMethod('x');
H A Dbug62384.phpt10 $reflection_method = $reflection_class->getMethod('__invoke');
H A Dbug51905.phpt16 $method = $clazz->getMethod('x');
H A Dbug64239.phpt18 print_r(($method = $obj->getMethod("Bmethod")));
H A DReflectionMethod_getClosure_error.phpt33 $method = $class->getMethod( 'foo' );
34 $staticmethod = $staticclass->getMethod( 'foo' );
H A Dbug71767.phpt35 echo $reflectionClass->getMethod('bar')->getDocComment() . PHP_EOL;
H A D004.phpt16 $m=$a->getMethod("a");
H A D001.phpt37 'UMLClass::getMethod',
H A Dbug66430.phpt20 $method = $reflection->getMethod("bravo");
H A Dclosures_001.phpt9 $rm = $ro->getMethod('__invoke');
/PHP-7.4/Zend/tests/object_types/
H A Dreturn_type_reflection.phpt16 $returnTypeOne = (new ReflectionClass(One::class))->getMethod('a')->getReturnType();
19 $returnTypeTwo = (new ReflectionClass(Two::class))->getMethod('a')->getReturnType();
H A Dtype_hint_reflection.phpt16 $typeHintOne = (new ReflectionClass(One::class))->getMethod('a')->getParameters()[0]->getType();
19 $typeHintTwo = (new ReflectionClass(Two::class))->getMethod('a')->getParameters()[0]->getType();
/PHP-7.4/ext/xmlrpc/tests/
H A Dbug47818.phpt27 function getMethod() {return $this->method;}
34 $method = $x->getMethod();
/PHP-7.4/ext/mysqli/tests/
H A Dbug74595.phpt10 $method = $class->getMethod('query');
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug41477.phpt8 $objRfMethod = $objRfClass->getMethod('__soapCall');
/PHP-7.4/ext/phar/tests/
H A Dbug74383.phpt8 $rm = $rc->getMethod("running");
/PHP-7.4/Zend/tests/
H A Dbug54013.phpt18 $params = $reflectionClass->getMethod('b')->getParameters();

Completed in 37 milliseconds

12