--TEST-- Test ltrim() function : usage variations - test values for $charlist argument --FILE-- ===DONE=== --EXPECTF-- *** Testing ltrim() function: with unexpected inputs for 'charlist' argument *** -- Iteration 1 -- string(19) "!---Hello World---!" -- Iteration 2 -- string(19) "!---Hello World---!" -- Iteration 3 -- string(19) "!---Hello World---!" -- Iteration 4 -- string(19) "!---Hello World---!" -- Iteration 5 -- string(19) "!---Hello World---!" -- Iteration 6 -- string(19) "!---Hello World---!" -- Iteration 7 -- string(19) "!---Hello World---!" -- Iteration 8 -- string(19) "!---Hello World---!" -- Iteration 9 -- string(19) "!---Hello World---!" -- Iteration 10 -- Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d NULL -- Iteration 11 -- Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d NULL -- Iteration 12 -- Warning: ltrim() expects parameter 2 to be string, array given in %s on line %d NULL -- Iteration 13 -- string(19) "!---Hello World---!" -- Iteration 14 -- string(19) "!---Hello World---!" -- Iteration 15 -- string(19) "!---Hello World---!" -- Iteration 16 -- string(19) "!---Hello World---!" -- Iteration 17 -- string(19) "!---Hello World---!" -- Iteration 18 -- string(19) "!---Hello World---!" -- Iteration 19 -- string(19) "!---Hello World---!" -- Iteration 20 -- Warning: ltrim() expects parameter 2 to be string, resource given in %s on line %d NULL -- Iteration 21 -- string(19) "!---Hello World---!" -- Iteration 22 -- string(19) "!---Hello World---!" ===DONE===