Lines Matching refs:chunk_split
2 Test chunk_split() function : error conditions
5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
12 * Testing error conditions of chunk_split() with zero arguments
16 echo "*** Testing chunk_split() : error conditions ***\n";
19 echo "-- Testing chunk_split() function with Zero arguments --";
20 var_dump( chunk_split() );
23 $str = 'Testing chunk_split';
27 echo "-- Testing chunk_split() function with more than expected no. of arguments --";
28 var_dump( chunk_split($str, $chunklen, $ending, $extra_arg) );
33 *** Testing chunk_split() : error conditions ***
34 -- Testing chunk_split() function with Zero arguments --
35 Warning: chunk_split() expects at least 1 parameter, 0 given in %s on line %d
37 -- Testing chunk_split() function with more than expected no. of arguments --
38 Warning: chunk_split() expects at most 3 parameters, 4 given in %s on line %d