/PHP-7.4/Zend/tests/ |
H A D | lsb_021.phpt | 14 call_user_func("parent::test"); 15 call_user_func(array("parent", "test")); 17 call_user_func("self::test"); 18 call_user_func(array("self", "test")); 22 call_user_func("A::test"); 23 call_user_func(array("A", "test")); 25 call_user_func("B::test"); 26 call_user_func(array("B", "test"));
|
H A D | bug45186_2.phpt | 14 call_user_func(array('BAR', 'xyz')); 15 call_user_func('BAR::www'); 16 call_user_func(array('self', 'y')); 17 call_user_func('self::y'); 28 call_user_func(array('BAR','x')); 29 call_user_func('BAR::www'); 30 call_user_func('self::y'); 48 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'bar' does not have a m… 50 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no …
|
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 | 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 …
|
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 | 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 | bug69167.phpt | 2 Bug #69167 (call_user_func does not support references anymore) 10 call_user_func($cb, 'hi'); 13 call_user_func($cb2, 'hi2');
|
H A D | bug73338.phpt | 6 try { call_user_func(new class { function __destruct () { throw new Error; } }); } catch (Error $e)… 10 try { var_dump(new stdClass, call_user_func("fail")); } catch (Error $e) {} 12 try { (function() { call_user_func("fail"); })(); } catch (Error $e) {} 18 Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in %…
|
H A D | bug50261.phpt | 2 Bug #50261 (Crash When Calling Parent Constructor with call_user_func()) 23 call_user_func(array('parent', '__construct'), 3); 24 call_user_func(array('testclass', '__construct'), 4); 25 call_user_func(array('testclass', 'testclass'), 5);
|
H A D | call_user_func_003.phpt | 2 Testing call_user_func() with closures 18 var_dump(call_user_func(array($foo, '__invoke'))->__invoke()); 19 var_dump(call_user_func(function() use (&$foo) { return $foo; }, '__invoke'));
|
H A D | bug78898.phpt | 2 Bug #78898: call_user_func(['parent', ...]) fails while other succeed 24 call_user_func('parent::_x'); 25 call_user_func(['parent', '_x']);
|
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 | call_user_func_009.phpt | 2 call_user_func() behavior when passing literal to reference parameter 8 var_dump(call_user_func('sort', [])); 9 var_dump(\call_user_func('sort', []));
|
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 | access_modifiers_012.phpt | 14 call_user_func(array($c, 'none')); 15 call_user_func(array($c, 'prot')); 16 call_user_func(array($c, 'priv'));
|
H A D | call_user_func_006.phpt | 2 call_user_func() should error on reference arguments 14 \call_user_func('Foo\bar', $x); 19 call_user_func('Foo\bar', $y);
|
H A D | ns_032.phpt | 15 call_user_func(__NAMESPACE__."\\foo"); 16 call_user_func(__NAMESPACE__."\\test::foo");
|
H A D | bug45180.phpt | 8 call_user_func(array('FOO', 'ABC')); 9 call_user_func(array($this, 'ABC')); 12 call_user_func('FOO::ABC');
|
H A D | ns_031.phpt | 17 call_user_func(__NAMESPACE__."\\foo"); 18 call_user_func(__NAMESPACE__."\\test::foo");
|
/PHP-7.4/ext/standard/tests/general_functions/ |
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 | 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 | bug35229.phpt | 2 Bug #35229 (call_user_func() crashes when argument stack is nearly full) 21 call_user_func(array('test1', 'use_stack'),
|
/PHP-7.4/tests/classes/ |
H A D | type_hinting_004.phpt | 15 call_user_func('f1', 1); 20 call_user_func('f1', new A); 25 call_user_func('f2', 1); 30 call_user_func('f2'); 35 call_user_func('f2', new A); 40 call_user_func('f2', null); 64 call_user_func(array('C', 'f1'), 1); 74 call_user_func(array('C', 'f2'), 1); 79 call_user_func(array('C', 'f2')); 114 call_user_func(array($d, 'f1'), 1); [all …]
|
/PHP-7.4/tests/basic/ |
H A D | timeout_variation_4.phpt | 2 Timeout within call_user_func 13 call_user_func('sleep', 1); 14 call_user_func('sleep', 1);
|
/PHP-7.4/ext/opcache/tests/ |
H A D | wrong_inlining_004.phpt | 2 Inlining throgh call_user_func() 17 var_dump(call_user_func('get_const', $x));
|