Lines Matching refs:array_values
2 Test array_values() function : error conditions - Pass incorrect number of functions
5 /* Prototype : array array_values(array $input)
11 * Pass incorrect number of arguments to array_values to test behaviour
14 echo "*** Testing array_values() : error conditions ***\n";
17 echo "\n-- Testing array_values() function with Zero arguments --\n";
18 var_dump( array_values() );
20 //Test array_values with one more than the expected number of arguments
21 echo "\n-- Testing array_values() function with more than expected no. of arguments --\n";
24 var_dump( array_values($input, $extra_arg) );
30 *** Testing array_values() : error conditions ***
32 -- Testing array_values() function with Zero arguments --
34 Warning: array_values() expects exactly 1 parameter, 0 given in %s on line %d
37 -- Testing array_values() function with more than expected no. of arguments --
39 Warning: array_values() expects exactly 1 parameter, 2 given in %s on line %d