Lines Matching refs:strtr
2 Test strtr() function : basic functionality
5 echo "*** Testing strtr() : basic functionality ***\n";
10 test strtr
14 var_dump( strtr("test strtr", "t", "T") );
15 var_dump( strtr('test strtr', 't', 'T') );
16 var_dump( strtr($heredoc_str, "t", "T") );
20 var_dump( strtr("test strtr", "test", "TEST") );
21 var_dump( strtr('test strtr', 'test', 'TEST') );
22 var_dump( strtr($heredoc_str, "test", "TEST") );
25 var_dump( strtr("test strtr", "test", "TESTz") );
26 var_dump( strtr('test strtr', 'testz', 'TEST') );
27 var_dump( strtr($heredoc_str, "test", "TESTz") );
30 var_dump( strtr("test strtr", $trans1_arr) );
31 var_dump( strtr('test strtr', $trans2_arr) );
32 var_dump( strtr($heredoc_str, $trans1_arr) );
36 *** Testing strtr() : basic functionality ***