/PHP-8.1/Zend/tests/named_params/ |
H A D | call_user_func_array.phpt | 2 Behavior of call_user_func_array() with named parameters 14 call_user_func_array($test, ['A', 'B']); 15 call_user_func_array($test, [1 => 'A', 0 => 'B']); 16 call_user_func_array($test, ['A', 'c' => 'C']); 19 call_user_func_array($test, ['d' => 'D']); 24 call_user_func_array($test, ['c' => 'C', 'A']); 32 call_user_func_array($test, ['A', 'B']); 33 call_user_func_array($test, [1 => 'A', 0 => 'B']); 34 call_user_func_array($test, ['A', 'c' => 'C']); 37 call_user_func_array($test, ['d' => 'D']); [all …]
|
H A D | call_user_func_array_variadic.phpt | 2 call_user_func_array() with extra named parameters 6 call_user_func_array("array_multisort", $args);
|
/PHP-8.1/Zend/tests/ |
H A D | call_user_func_array_prefer_ref.phpt | 2 call_user_func_array() passes value to prefer-ref arg if element wasn't a reference 7 call_user_func_array('array_multisort', [[3, 2, 1]]); 10 call_user_func_array('array_multisort', $args); 21 call_user_func_array('array_multisort', [[3, 2, 1]]); 24 call_user_func_array('array_multisort', $args);
|
H A D | call_user_func_array_array_slice_type.phpt | 2 Type check in call_user_func_array() + array_slice() optimization 10 call_user_func_array('var_dump', array_slice($array, 0, $len)); 16 call_user_func_array('var_dump', array_slice($array, 0, $len)); 19 call_user_func_array('var_dump', array_slice($array, 1, $len));
|
H A D | bug48770_2.phpt | 2 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) 23 call_user_func_array(array($this, 'parent::func2'), array($str)); 24 call_user_func_array(array($this, 'parent::func3'), array($str)); 27 call_user_func_array(array($this, 'parent::func22'), array($str)); 33 call_user_func_array(array($this, 'parent::inexistent'), array($str)); 59 call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private met… 60 call_user_func_array(): Argument #1 ($callback) must be a valid callback, class B does not have a m…
|
H A D | call_user_func_array_array_slice_type_strict.phpt | 2 Type check in call_user_func_array() + array_slice() optimization (strict types) 11 call_user_func_array('var_dump', array_slice($array, 0, $len)); 18 call_user_func_array('var_dump', array_slice($array, 0, $len)); 24 call_user_func_array('var_dump', array_slice($array, 1, $len));
|
H A D | call_user_func_array_invalid_type.phpt | 2 call_user_func_array() generating TypeError 12 call_user_func_array(array($drv, 'func'), null); 18 call_user_func_array(): Argument #2 ($args) must be of type array, null given
|
H A D | bug48770_3.phpt | 2 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) 20 call_user_func_array(array($this, 'self::func2'), array($str)); 21 call_user_func_array(array($this, 'self::func3'), array($str)); 24 call_user_func_array(array($this, 'self::inexistent'), array($str)); 50 call_user_func_array(): Argument #1 ($callback) must be a valid callback, class C does not have a m…
|
H A D | bug52940.phpt | 2 Bug #52940 (call_user_func_array still allows call-time pass-by-reference) 14 call_user_func_array("foo", array(&$a)); 16 call_user_func_array("bar", array(&$a));
|
H A D | bug50394.phpt | 10 call_user_func_array( 'inc', $args ); 17 call_user_func_array( array( $proxy, 'bar' ), $args ); 18 call_user_func_array( array( $proxy, 'bar' ), array(&$arg) );
|
H A D | bug79979.phpt | 8 call_user_func_array("str_replace", ["a", "b", "c", new \stdClass]); 9 call_user_func_array("str_replace", ["a", "b", "c", "count" => new \stdClass]); 11 \call_user_func_array("str_replace", ["a", "b", "c", new \stdClass]); 12 \call_user_func_array("str_replace", ["a", "b", "c", "count" => new \stdClass]);
|
H A D | bug32290.phpt | 2 Bug #32290 (calling call_user_func_array() ends in infinite loop within child class) 48 return call_user_func_array(array("TestA", "doSomething"), array($i)); 56 return call_user_func_array(array($this, "TestA::doSomethingThis"), array($i)); 64 return call_user_func_array(array("parent", "doSomethingParent"), array($i)); 72 return call_user_func_array(array($this, "parent::doSomethingParentThis"), array($i)); 80 return call_user_func_array(array("TestA", "doSomethingStatic"), array($i));
|
H A D | lsb_022.phpt | 19 call_user_func_array("parent::__callstatic", array($name, $args)); 21 call_user_func_array("parent::foo", $args); 22 call_user_func_array(array("parent","foo"), $args);
|
H A D | call_user_func_array_array_slice_named_args.phpt | 2 call_user_func_array() + array_slice() + named arguments 5 call_user_func_array('func', array_slice(array: $a, 1, 2));
|
H A D | bug47880.phpt | 2 Bug #47880 (crashes in call_user_func_array()) 11 call_user_func_array(array('bomb', 'go'), array(0));
|
H A D | unexpected_ref_bug.phpt | 13 $data = call_user_func_array("explode", array(new Test(), &$my_var)); 15 $data = call_user_func_array("str_replace", array(&$my_var, new Test(), "foo"));
|
H A D | bug61273.phpt | 2 Bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes) 11 call_user_func_array(function(&$a) {}, $args);
|
H A D | bug19859.phpt | 2 Bug #19859 (__call() does not catch call_user_func_array() calls) 14 call_user_func_array(array($x,'fake'),array(1));
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | bug40398.phpt | 19 call_user_func_array(array($this, 'Base::__construct'), $args); 28 call_user_func_array(array($this, 'parent::__construct'), $args); 37 call_user_func_array('Base::__construct', $args); 46 call_user_func_array('parent::__construct', $args); 55 call_user_func_array(array('Base', '__construct'), $args); 64 call_user_func_array(array('parent', '__construct'), $args);
|
H A D | call_user_func_array_variation_001.phpt | 2 call_user_func_array() passes by reference if the array element is referenced, regardless of functi… 16 call_user_func_array('by_val', $arg); 21 call_user_func_array('by_ref', $arg); 27 call_user_func_array('by_val', $arg); 33 call_user_func_array('by_ref', $arg);
|
H A D | bug31190.phpt | 2 Bug #31190 (exception in call_user_func_array()) 18 call_user_func_array($array, array(1, 2));
|
/PHP-8.1/tests/classes/ |
H A D | bug27504.phpt | 2 Bug #27504 (call_user_func_array allows calling of private/protected methods) 17 call_user_func_array( array( $foo , 'bar' ) , array( '2' ) ); 30 call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private met…
|
/PHP-8.1/ext/zend_test/tests/ |
H A D | observer_call_user_func_02.phpt | 2 Observer: call_user_func_array() from root namespace 26 call_user_func_array('Test\\MyClass::myMethod', ['called']); 27 call_user_func_array('Test\\my_function', ['called']);
|
H A D | observer_call_user_func_04.phpt | 2 Observer: call_user_func_array() from namespace 25 call_user_func_array('Test\\MyClass::myMethod', ['called']); 26 call_user_func_array('Test\\my_function', ['called']);
|
/PHP-8.1/Zend/tests/generators/ |
H A D | generator_with_arg_unpacking.phpt | 6 call_user_func_array(function() { yield; }, range(1, 16384)); 8 $g = call_user_func_array(function() { yield; }, range(1, 16384));
|