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