Lines Matching refs:trim
2 Test trim() function : error conditions
6 echo "*** Testing trim() : error conditions ***\n";
9 echo "\n-- Test trim function with various invalid charlists --\n";
10 var_dump(trim($hello, "..a"));
11 var_dump(trim($hello, "a.."));
12 var_dump(trim($hello, "z..a"));
13 var_dump(trim($hello, "a..b..c"));
17 *** Testing trim() : error conditions ***
19 -- Test trim function with various invalid charlists --
21 Warning: trim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
25 Warning: trim(): Invalid '..'-range, no character to the right of '..' in %s on line %d
29 Warning: trim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d
33 Warning: trim(): Invalid '..'-range in %s on line %d