Searched refs:invoke (Results 1 – 25 of 40) sorted by relevance
12
/PHP-8.2/ext/reflection/tests/ |
H A D | ReflectionMethod_invoke_error1.phpt | 2 ReflectionMethod::invoke() errors 30 echo "invoke() on a non-object:\n"; 32 var_dump($foo->invoke(true)); 39 var_dump($foo->invoke(new stdClass())); 45 var_dump($privateMethod->invoke($testClassInstance)); 50 $abstractMethod->invoke(true); 57 invoke() on a non-object: 58 string(85) "ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, bool given" 60 invoke() on a non-instance: 68 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
H A D | ReflectionMethod_invoke_basic.phpt | 2 ReflectionMethod::invoke() 52 var_dump($foo->invoke($testClassInstance)); 54 var_dump($foo->invoke($testClassInstance, true)); 58 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2")); 59 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2", 3)); 64 var_dump($staticMethod->invoke()); 69 var_dump($staticMethod->invoke(true)); 73 var_dump($staticMethod->invoke(new stdClass())); 77 var_dump($methodThatThrows->invoke($testClassInstance)); 105 ReflectionMethod::invoke() expects at least 1 argument, 0 given [all …]
|
H A D | ReflectionMethod_setAccessible.phpt | 17 $private->invoke(new A, NULL); 19 $privateStatic->invoke(NULL, NULL); 21 $protected->invoke(new A, NULL); 23 $protectedStatic->invoke(NULL, NULL); 31 $private->invoke(new A, NULL); 33 $privateStatic->invoke(NULL, NULL); 35 $protected->invoke(new A, NULL); 37 $protectedStatic->invoke(NULL, NULL);
|
H A D | 004.phpt | 2 ReflectionMethod::invoke() with non object or null value 19 $m->invoke(null); 26 $m->invoke($b); 33 $m->invoke($b); 40 Trying to invoke non static method a::__construct() without an object
|
H A D | bug48757.phpt | 2 Bug #48757 (ReflectionFunction::invoke() parameter issues) 14 $func->invoke(); 17 $func->invoke('testing');
|
H A D | ReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt | 2 ReflectionMethod::invoke() on an abstract method should fail 12 var_dump($rm->invoke(null)); 19 Trying to invoke abstract method Test::foo()
|
H A D | request38992.phpt | 2 Request #38992 (invoke() and invokeArgs() static method calls should match) 15 $r->invoke('WTF?'); 26 ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, string given
|
H A D | ReflectionMethod_invoke_error2.phpt | 2 ReflectionMethod::invoke() further errors 18 var_dump($methodWithArgs->invoke($testClassInstance)); 27 #1 %sReflectionMethod_invoke_error2.php(15): ReflectionMethod->invoke(Object(TestClass))
|
H A D | bug66430.phpt | 2 Bug #66430: ReflectionFunction::invoke does not invoke closure with object scope 25 echo "reflection of alpha.bravo: ", $method->invoke($alpha).PHP_EOL; 31 echo "reflection of c(alpha.bravo): ", $reflectionC->invoke().PHP_EOL;
|
H A D | 003.phpt | 2 ReflectionMethod::invoke() with base class method 25 $r->invoke($o);
|
H A D | bug60367.phpt | 22 $method->invoke(null); 25 $method->invoke(null);
|
H A D | 009.phpt | 34 echo "--invoke--\n"; 35 var_dump($func->invoke(array(1,2,3))); 84 --invoke--
|
H A D | 025.phpt | 34 echo "--invoke--\n"; 35 var_dump($func->invoke(array(1,2,3))); 84 --invoke--
|
H A D | ReflectionMethod_invokeArgs_error3.phpt | 82 string(53) "Trying to invoke abstract method AbstractClass::foo()" 83 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
H A D | bug75186.phpt | 10 $method->invoke(
|
H A D | ReflectionAttribute_constructor_001.phpt | 19 var_dump($rm->invoke($attribute, 0, 1, 2));
|
H A D | bug62384.phpt | 2 Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
|
/PHP-8.2/Zend/tests/ |
H A D | bug72101.phpt | 10 public function invoke($invocation) { 20 public function invoke( $invocation) { 31 return $this->stub->invoke($invocation); 54 $result = $this->inv_mocker->invoke( 82 #1 %sbug72101.php(%d): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Fram… 84 #3 %sbug72101.php(%d): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framewo…
|
H A D | closure_compare.phpt | 94 printf("Closure[0]::invoke != Closure[1]::invoke: %s\n", $closures[2] != $closures[3] ? "OK" : "FAI… 99 printf("Closure[0]::invoke == Closure[0]::invoke: %s\n", $closures[2] == $closures[3] ? "OK" : "FAI… 113 Closure[0]::invoke != Closure[1]::invoke: OK 114 Closure[0]::invoke == Closure[0]::invoke: OK
|
H A D | dynamic_call_to_ref_returning_function.phpt | 20 var_dump((new \ReflectionFunction('Foo\retRef'))->invoke(42)); 28 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invoke(new Bar, 42));
|
H A D | bug45805.phpt | 27 $m->invoke($this); 43 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
|
H A D | bug70215.phpt | 2 Bug #70215 (Segfault when invoke is static)
|
/PHP-8.2/Zend/tests/function_arguments/ |
H A D | call_with_trailing_comma_basic.phpt | 43 'invoke', 86 string(6) "invoke"
|
/PHP-8.2/ext/spl/tests/ |
H A D | bug46115.phpt | 7 $z = $x->invoke($h);
|
/PHP-8.2/Zend/tests/generators/ |
H A D | dynamic_call.phpt | 2 It's possible to invoke a generator dynamically
|
Completed in 22 milliseconds
12