Home
last modified time | relevance | path

Searched refs:call_user_func (Results 1 – 25 of 82) sorted by last modified time

1234

/PHP-7.4/
H A DNEWS179 call_user_func()). (Nikita)
1270 . Fixed bug #78898 (call_user_func(['parent', ...]) fails while other
1342 . Fixed bug #77877 (call_user_func() passes $this to static methods).
/PHP-7.4/sapi/fpm/tests/
H A Dstatus.inc93 $name = call_user_func($nameTransformer, $name);
96 $value = call_user_func($valueTransformer, $value);
/PHP-7.4/Zend/tests/
H A Dbug66719.phpt2 Bug #66719: Weird behaviour when using get_called_class() with call_user_func()
25 call_user_func(array(A::class, 'who'));
26 call_user_func(array(B::class, 'parent::who'));
31 call_user_func(array(A::class, 'who'));
32 call_user_func(array(B::class, 'parent::who'));
H A Dmethods-on-non-objects-call-user-func.phpt2 call_user_func() in combination with "Call to a member function method() on a non-object"
6 var_dump(call_user_func([$comparator, 'compare'], 1, 2));
10 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
H A Dobjects_027.phpt22 call_user_func(array($foo, 'test'));
23 call_user_func(array('foo', 'test'));
H A Dfr47160.phpt46 var_dump(call_user_func($f, 'you'));
56 var_dump(call_user_func($f, 'again'));
65 var_dump(call_user_func($f, 'there'));
75 var_dump(call_user_func($f, 'devs'));
81 call_user_func($f);
87 call_user_func($f);
94 call_user_func($f);
100 call_user_func($f);
106 var_dump(call_user_func($f, 'you'));
H A Dcall_user_func_001.phpt2 Testing call_user_func inside namespace
22 call_user_func(__NAMESPACE__ .'\foobar', 'foobar');
25 call_user_func(array(new $class, 'priv'), 'foobar');
26 call_user_func(array(new $class, 'prot'), 'foobar');
33 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access private method …
35 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access protected metho…
H A Dcall_user_func_002.phpt2 Testing call_user_func() with autoload and passing invalid params
10 call_user_func(array('foo', 'bar'));
11 call_user_func(array('', 'bar'));
12 call_user_func(array($foo, 'bar'));
13 call_user_func(array($foo, ''));
19 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found in %s o…
21 Warning: call_user_func() expects parameter 1 to be a valid callback, class '' not found in %s on l…
25 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
29 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
H A Dcall_user_func_004.phpt2 Calling non-static method with call_user_func()
12 call_user_func(array('foo', 'teste'));
H A Dcall_user_func_005.phpt17 var_dump(call_user_func(array('foo', 'teste')));
H A Dcall_user_func_007.phpt2 call_user_func() should not use FUNC_ARG fetches
9 call_user_func('foo', $a[0][0]);
H A Ddynamic_call_005.phpt15 call_user_func($func, ['i' => new stdClass]);
H A Dbug45186.phpt18 call_user_func(array('BAR', 'xyz'));
19 call_user_func('BAR::www');
20 call_user_func(array('self', 'y'));
21 call_user_func('self::y');
32 call_user_func(array('BAR','x'));
33 call_user_func('BAR::www');
34 call_user_func('self::y');
54 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no …
/PHP-7.4/ext/standard/
H A Dbasic_functions.c3020 PHP_FE(call_user_func, arginfo_call_user_func)
4922 PHP_FUNCTION(call_user_func) argument
H A Dbasic_functions.h84 PHP_FUNCTION(call_user_func);
/PHP-7.4/tests/classes/
H A D__call_006.phpt48 call_user_func(array($b, 'unknownCallback'), 1,2,3);
H A D__call_007.phpt48 call_user_func(array($b, 'unknownCallback'), 1,2,3);
H A Dabstract_user_call.phpt23 call_user_func(array($o, 'test_base::func'));
30 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot call abstract method t…
H A Dautoload_012.phpt9 call_user_func("UndefC::test");
14 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %…
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug25038.phpt2 Bug #25038 (call_user_func issues warning if function throws exception)
20 call_user_func('bar','second try');
H A Dbug36011.phpt2 Bug #36011 (Strict errormsg wrong for call_user_func() and the likes)
20 call_user_func(array('TestClass', 'test'));
25 call_user_func(array('TestClass', 'test'));
H A Dcallbacks_001.phpt23 call_user_func($cb);
66 call_user_func($cb);
107 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'P' is not a subclass o…
H A Dcallbacks_002.phpt2 call_user_func(): Wrong parameters
6 call_user_func(array('Foo', 'bar'));
7 call_user_func(array(NULL, 'bar'));
8 call_user_func(array('stdclass', NULL));
12 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Foo' not found in %s o…
14 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
16 Warning: call_user_func() expects parameter 1 to be a valid callback, second array member is not a …
H A Dbug41970.phpt10 var_dump(call_user_func("sort", $a));
11 var_dump(call_user_func("strlen", $a));
H A Dcall_user_func_return.phpt2 call_user_func() and return value

Completed in 40 milliseconds

1234