--TEST-- Test strtr() function : usage variations - unexpected inputs for 'str' argument --FILE-- ===DONE=== --EXPECTF-- *** Testing strtr() function: with unexpected inputs for 'str' *** -- Iteration 1 -- string(1) "a" -- Iteration 2 -- string(1) "t" -- Iteration 3 -- string(2) "-m" -- Iteration 4 -- string(4) "ta.5" -- Iteration 5 -- string(5) "-ma.5" -- Iteration 6 -- string(12) "tatm34567aaa" -- Iteration 7 -- Warning: strtr() expects parameter 1 to be string, array given in %s on line %d NULL -- Iteration 8 -- Warning: strtr() expects parameter 1 to be string, array given in %s on line %d NULL -- Iteration 9 -- Warning: strtr() expects parameter 1 to be string, array given in %s on line %d NULL -- Iteration 10 -- string(1) "t" -- Iteration 11 -- string(0) "" -- Iteration 12 -- string(1) "t" -- Iteration 13 -- string(0) "" -- Iteration 14 -- string(0) "" -- Iteration 15 -- string(0) "" -- Iteration 16 -- string(13) "s02ple objec1" -- Iteration 17 -- Warning: strtr() expects parameter 1 to be string, resource given in %s on line %d NULL -- Iteration 18 -- string(0) "" -- Iteration 19 -- string(0) "" ===DONE===