Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.0/ext/reflection/tests/
H A DReflectionMethod_setAccessible.phpt18 $private->invoke(new A, NULL);
34 $privateStatic->invoke(NULL, NULL);
50 $protected->invoke(new A, NULL);
66 $protectedStatic->invoke(NULL, NULL);
86 $private->invoke(new A, NULL);
88 $privateStatic->invoke(NULL, NULL);
90 $protected->invoke(new A, NULL);
92 $protectedStatic->invoke(NULL, NULL);
96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
[all …]
H A DReflectionMethod_invoke_error1.phpt2 ReflectionMethod::invoke() errors
30 echo "invoke() on a non-object:\n";
32 var_dump($foo->invoke(true));
39 var_dump($foo->invoke(new stdClass()));
46 var_dump($privateMethod->invoke($testClassInstance));
54 $abstractMethod->invoke(true);
61 invoke() on a non-object:
62 string(85) "ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, bool given"
64 invoke() on a non-instance:
68 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
[all …]
H A DReflectionMethod_invoke_basic.phpt2 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 D004.phpt2 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 Dbug48757.phpt2 Bug #48757 (ReflectionFunction::invoke() parameter issues)
14 $func->invoke();
17 $func->invoke('testing');
H A DReflectionMethod_invoke_on_abstract_method_after_setAccessible.phpt2 ReflectionMethod::invoke() on an abstract method should fail even after calling setAccessible(true)
13 var_dump($rm->invoke(null));
20 Trying to invoke abstract method Test::foo()
H A Drequest38992.phpt2 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 DReflectionMethod_invoke_error2.phpt2 ReflectionMethod::invoke() further errors
18 var_dump($methodWithArgs->invoke($testClassInstance));
27 #1 %sReflectionMethod_invoke_error2.php(15): ReflectionMethod->invoke(Object(TestClass))
H A Dbug66430.phpt2 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 D003.phpt2 ReflectionMethod::invoke() with base class method
25 $r->invoke($o);
H A Dbug60367.phpt22 $method->invoke(null);
25 $method->invoke(null);
H A D009.phpt34 echo "--invoke--\n";
35 var_dump($func->invoke(array(1,2,3)));
84 --invoke--
H A D025.phpt34 echo "--invoke--\n";
35 var_dump($func->invoke(array(1,2,3)));
84 --invoke--
H A DReflectionMethod_invokeArgs_error3.phpt82 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
85 string(53) "Trying to invoke abstract method AbstractClass::foo()"
86 string(53) "Trying to invoke abstract method AbstractClass::foo()"
H A Dbug75186.phpt10 $method->invoke(
H A Dbug62384.phpt2 Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
H A Dbug75231.phpt20 print_r((new ReflectionMethod(B::class, 'method'))->invoke(new A()).PHP_EOL);
/PHP-8.0/Zend/tests/
H A Dbug72101.phpt10 public function invoke($invocation) {
20 public function invoke( $invocation) {
30 return $this->stub->invoke($invocation);
53 $result = $this->inv_mocker->invoke(
81 #1 %sbug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Fram…
83 #3 %sbug72101.php(52): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framewo…
H A Ddynamic_call_to_ref_returning_function.phpt20 var_dump((new \ReflectionFunction('Foo\retRef'))->invoke(42));
28 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invoke(new Bar, 42));
H A Dbug45805.phpt27 $m->invoke($this);
43 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
H A Dbug70215.phpt2 Bug #70215 (Segfault when invoke is static)
H A Dbug71622.phpt2 Bug #71622 (Strings used in pass-as-reference cannot be used to invoke C::$callable())
/PHP-8.0/Zend/tests/function_arguments/
H A Dcall_with_trailing_comma_basic.phpt43 'invoke',
86 string(6) "invoke"
/PHP-8.0/ext/spl/tests/
H A Dbug46115.phpt7 $z = $x->invoke($h);
/PHP-8.0/Zend/tests/generators/
H A Ddynamic_call.phpt2 It's possible to invoke a generator dynamically

Completed in 20 milliseconds

12