/PHP-7.4/ |
H A D | NEWS | 179 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 D | status.inc | 93 $name = call_user_func($nameTransformer, $name); 96 $value = call_user_func($valueTransformer, $value);
|
/PHP-7.4/Zend/tests/ |
H A D | bug66719.phpt | 2 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 D | methods-on-non-objects-call-user-func.phpt | 2 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 D | objects_027.phpt | 22 call_user_func(array($foo, 'test')); 23 call_user_func(array('foo', 'test'));
|
H A D | fr47160.phpt | 46 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 D | call_user_func_001.phpt | 2 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 D | call_user_func_002.phpt | 2 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 D | call_user_func_004.phpt | 2 Calling non-static method with call_user_func() 12 call_user_func(array('foo', 'teste'));
|
H A D | call_user_func_005.phpt | 17 var_dump(call_user_func(array('foo', 'teste')));
|
H A D | call_user_func_007.phpt | 2 call_user_func() should not use FUNC_ARG fetches 9 call_user_func('foo', $a[0][0]);
|
H A D | dynamic_call_005.phpt | 15 call_user_func($func, ['i' => new stdClass]);
|
H A D | bug45186.phpt | 18 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 D | basic_functions.c | 3020 PHP_FE(call_user_func, arginfo_call_user_func) 4922 PHP_FUNCTION(call_user_func) argument
|
H A D | basic_functions.h | 84 PHP_FUNCTION(call_user_func);
|
/PHP-7.4/tests/classes/ |
H A D | __call_006.phpt | 48 call_user_func(array($b, 'unknownCallback'), 1,2,3);
|
H A D | __call_007.phpt | 48 call_user_func(array($b, 'unknownCallback'), 1,2,3);
|
H A D | abstract_user_call.phpt | 23 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 D | autoload_012.phpt | 9 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 D | bug25038.phpt | 2 Bug #25038 (call_user_func issues warning if function throws exception) 20 call_user_func('bar','second try');
|
H A D | bug36011.phpt | 2 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 D | callbacks_001.phpt | 23 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 D | callbacks_002.phpt | 2 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 D | bug41970.phpt | 10 var_dump(call_user_func("sort", $a)); 11 var_dump(call_user_func("strlen", $a));
|
H A D | call_user_func_return.phpt | 2 call_user_func() and return value
|