Home
last modified time | relevance | path

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

12

/PHP-5.5/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:
64 invoke() on a non-instance:
68 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
71 string(53) "Trying to invoke abstract method AbstractClass::foo()"
H A DReflectionMethod_invoke_basic.phpt2 ReflectionMethod::invoke()
48 var_dump($foo->invoke($testClassInstance));
50 var_dump($foo->invoke($testClassInstance, true));
54 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2"));
55 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2", 3));
59 var_dump($staticMethod->invoke());
60 var_dump($staticMethod->invoke(true));
61 var_dump($staticMethod->invoke(new stdClass()));
65 var_dump($methodThatThrows->invoke($testClassInstance));
94 Warning: ReflectionMethod::invoke() expects at least 1 parameter, 0 given in %s on line %d
H A Dbug48757.phpt2 Bug #48757 (ReflectionFunction::invoke() parameter issues)
14 $func->invoke();
17 $func->invoke('testing');
H A D004.phpt2 ReflectionMethod::invoke() with non object or null value
19 $m->invoke(null);
26 $m->invoke($b);
33 $m->invoke($b);
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 DReflectionMethod_invoke_error2.phpt2 ReflectionMethod::invoke() further errors
18 var_dump($methodWithArgs->invoke($testClassInstance));
H A D025.phpt37 echo "--invoke--\n";
38 var_dump($func->invoke(array(1,2,3)));
89 --invoke--
H A D009.phpt35 echo "--invoke--\n";
36 var_dump($func->invoke(array(1,2,3)));
87 --invoke--
H A Dbug62384.phpt2 Bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
H A DReflectionMethod_invokeArgs_error3.phpt112 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
115 string(53) "Trying to invoke abstract method AbstractClass::foo()"
H A Dproperty_exists.phpt71 $r->invoke(NULL, $p1, $pr);
/PHP-5.5/Zend/tests/
H A Dbug45805.phpt29 $m->invoke($this);
45 #2 %sbug45805.php(%d): ReflectionMethod->invoke(Object(B))
/PHP-5.5/Zend/
H A Dzend_closures.c156 zend_function *invoke = (zend_function*)emalloc(sizeof(zend_function)); in zend_get_closure_invoke_method() local
158 invoke->common = closure->func.common; in zend_get_closure_invoke_method()
159 invoke->type = ZEND_INTERNAL_FUNCTION; in zend_get_closure_invoke_method()
160invoke->internal_function.fn_flags = ZEND_ACC_PUBLIC | ZEND_ACC_CALL_VIA_HANDLER | (closure->func.… in zend_get_closure_invoke_method()
161 invoke->internal_function.handler = ZEND_MN(Closure___invoke); in zend_get_closure_invoke_method()
162 invoke->internal_function.module = 0; in zend_get_closure_invoke_method()
163 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method()
164invoke->internal_function.function_name = estrndup(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_… in zend_get_closure_invoke_method()
165 return invoke; in zend_get_closure_invoke_method()
/PHP-5.5/ext/spl/tests/
H A Dbug46115.phpt7 $z = $x->invoke($h);
/PHP-5.5/Zend/tests/generators/
H A Ddynamic_call.phpt2 It's possible to invoke a generator dynamically
/PHP-5.5/tests/lang/
H A DforeachLoop.010.phpt20 // However, P8 does not invoke 'destructors' when refcount is decremented to 0.
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorcode.phpt30 or PDO->query() and invoke an error on the statement handle,
H A Dpdo_mysql_errorinfo.phpt40 or PDO->query() and invoke an error on the statement handle,
/PHP-5.5/ext/soap/
H A DTODO.old16 make $soap_object->data = 'text'; maybe invoke a set_*() and/or get_*() method
/PHP-5.5/ext/spl/internal/
H A Dfilteriterator.inc118 * @param func Name of method to invoke
H A Diteratoriterator.inc107 * @param func Name of method to invoke
H A Dlimititerator.inc125 * @param func Name of method to invoke
H A Dcachingiterator.inc119 * @param func Name of method to invoke

Completed in 27 milliseconds

12