Searched refs:invoke (Results 1 – 25 of 37) sorted by relevance
12
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionMethod_setAccessible.phpt | 18 $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 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())); 46 var_dump($privateMethod->invoke($testClassInstance)); 54 $abstractMethod->invoke(true); 61 invoke() on a non-object: 63 Warning: ReflectionMethod::invoke() expects parameter 1 to be object, boolean given in %s%eReflecti… 66 invoke() on a non-instance: 70 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod" [all …]
|
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)); 63 var_dump($staticMethod->invoke()); 64 var_dump($staticMethod->invoke(true)); 65 var_dump($staticMethod->invoke(new stdClass())); 69 var_dump($methodThatThrows->invoke($testClassInstance)); 98 Warning: ReflectionMethod::invoke() expects at least 1 parameter, 0 given in %s on line %d [all …]
|
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); 41 Trying to invoke non static method a::a() 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 | request38992.phpt | 2 Request #38992 (invoke() and invokeArgs() static method calls should match) 14 $r->invoke('WTF?'); 19 Warning: ReflectionMethod::invoke() expects parameter 1 to be object, string given in %s%erequest38…
|
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 | 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))); 86 --invoke--
|
H A D | 025.phpt | 36 echo "--invoke--\n"; 37 var_dump($func->invoke(array(1,2,3))); 88 --invoke--
|
H A D | ReflectionMethod_invokeArgs_error3.phpt | 114 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod" 117 string(53) "Trying to invoke abstract method AbstractClass::foo()" 118 string(53) "Trying to invoke abstract method AbstractClass::foo()"
|
H A D | bug62384.phpt | 2 Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
|
H A D | bug75231.phpt | 20 print_r((new ReflectionMethod(B::class, 'method'))->invoke(new A()).PHP_EOL);
|
/PHP-7.1/Zend/tests/ |
H A D | bug72101.phpt | 10 public function invoke($invocation) { 20 public function invoke( $invocation) { 30 return $this->stub->invoke($invocation); 53 $result = $this->inv_mocker->invoke( 80 #1 %sbug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Fram… 82 #3 %sbug72101.php(52): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framewo…
|
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 | 29 $m->invoke($this); 45 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
|
H A D | bug70215.phpt | 2 Bug #70215 (Segfault when invoke is static)
|
H A D | bug71622.phpt | 2 Bug #71622 (Strings used in pass-as-reference cannot be used to invoke C::$callable())
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug46115.phpt | 7 $z = $x->invoke($h);
|
/PHP-7.1/Zend/tests/generators/ |
H A D | dynamic_call.phpt | 2 It's possible to invoke a generator dynamically
|
/PHP-7.1/Zend/ |
H A D | zend_closures.c | 346 zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); in zend_get_closure_invoke_method() local 350 invoke->common = closure->func.common; in zend_get_closure_invoke_method() 356 invoke->type = ZEND_INTERNAL_FUNCTION; in zend_get_closure_invoke_method() 357 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method() 360 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method() 363 invoke->internal_function.handler = ZEND_MN(Closure___invoke); in zend_get_closure_invoke_method() 364 invoke->internal_function.module = 0; in zend_get_closure_invoke_method() 365 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method() 366 invoke->internal_function.function_name = CG(known_strings)[ZEND_STR_MAGIC_INVOKE]; in zend_get_closure_invoke_method() 367 return invoke; in zend_get_closure_invoke_method()
|
/PHP-7.1/tests/lang/ |
H A D | foreachLoop.010.phpt | 20 // However, P8 does not invoke 'destructors' when refcount is decremented to 0.
|
/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_errorcode.phpt | 30 or PDO->query() and invoke an error on the statement handle,
|
/PHP-7.1/ext/soap/ |
H A D | TODO.old | 16 make $soap_object->data = 'text'; maybe invoke a set_*() and/or get_*() method
|
Completed in 22 milliseconds
12