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