--TEST-- Test ltrim() function : error conditions --FILE-- ===DONE=== --EXPECTF-- *** Testing ltrim() : error conditions *** -- Testing ltrim() function with no arguments -- Warning: ltrim() expects at least 1 parameter, 0 given in %s on line %d NULL -- Testing ltrim() function with more than expected no. of arguments -- Warning: ltrim() expects at most 2 parameters, 3 given in %s on line %d NULL -- Test ltrim function with various invalid charlists Warning: ltrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d string(14) " Hello World " Warning: ltrim(): Invalid '..'-range, no character to the right of '..' in %s on line %d string(14) " Hello World " Warning: ltrim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d string(14) " Hello World " Warning: ltrim(): Invalid '..'-range in %s on line %d string(14) " Hello World " ===DONE===