Lines Matching refs:wordwrap
2 Test wordwrap() function : error conditions
5 echo "*** Testing wordwrap() : error conditions ***\n";
7 $str = 'testing wordwrap function';
13 echo "\n-- Testing wordwrap() function with negative/zero value for width argument --\n";
18 var_dump( wordwrap($str, $width, $break, $cut) );
26 wordwrap($str, $width, $break, $cut);
35 var_dump( wordwrap($str, $width, $break, $cut) );
41 var_dump( wordwrap($str, $width, $break, $cut) );
44 *** Testing wordwrap() : error conditions ***
46 -- Testing wordwrap() function with negative/zero value for width argument --
50 wordwrap(): Argument #4 ($cut_long_words) cannot be true when argument #2 ($width) is 0