--TEST-- Test strtr() function : usage variations - unexpected inputs for 'to' argument --FILE-- ===DONE=== --EXPECTF-- *** Testing strtr() function: with unexpected inputs for 'to' *** -- Iteration 1 -- string(6) "0120tm" -- Iteration 2 -- string(6) "0121tm" -- Iteration 3 -- string(6) "012-2m" -- Iteration 4 -- string(6) "51210." -- Iteration 5 -- string(6) ".52-20" -- Iteration 6 -- string(6) "234101" -- Iteration 7 -- Warning: strtr() expects parameter 3 to be string, array given in %s on line %d NULL -- Iteration 8 -- Warning: strtr() expects parameter 3 to be string, array given in %s on line %d NULL -- Iteration 9 -- Warning: strtr() expects parameter 3 to be string, array given in %s on line %d NULL -- Iteration 10 -- string(6) "0121tm" -- Iteration 11 -- string(6) "012atm" -- Iteration 12 -- string(6) "0121tm" -- Iteration 13 -- string(6) "012atm" -- Iteration 14 -- string(6) "012atm" -- Iteration 15 -- string(6) "012atm" -- Iteration 16 -- string(6) "plesam" -- Iteration 17 -- Warning: strtr() expects parameter 3 to be string, resource given in %s on line %d NULL -- Iteration 18 -- string(6) "012atm" -- Iteration 19 -- string(6) "012atm" ===DONE===