Lines Matching refs:join
2 Test join() function: error conditions
5 /* Prototype : string join( string $glue, array $pieces )
11 echo "*** Testing join() : error conditions ***\n";
14 echo "\n-- Testing join() function with Zero arguments --\n";
15 var_dump( join() );
18 echo "\n-- Testing join() function with more than expected no. of arguments --\n";
23 var_dump( join($glue, $pieces, $extra_arg) );
26 echo "\n-- Testing join() with less than expected no. of arguments --\n";
29 var_dump( join($glue));
34 *** Testing join() : error conditions ***
36 -- Testing join() function with Zero arguments --
38 Warning: join() expects at least 1 parameter, 0 given in %s on line %d
41 -- Testing join() function with more than expected no. of arguments --
43 Warning: join() expects at most 2 parameters, 3 given in %s on line %d
46 -- Testing join() with less than expected no. of arguments --
48 Warning: join(): Argument must be an array in %s on line %d