Lines Matching refs:strtr
2 Test strtr() function : usage variations - unexpected inputs for 'to' argument
5 /* Prototype : string strtr(string $str, string $from[, string $to]);
6 string strtr(string $str, array $replace_pairs);
11 /* Test strtr() function: with unexpected inputs for 'to'
15 echo "*** Testing strtr() function: with unexpected inputs for 'to' ***\n";
78 // loop through with each element of the $to array to test strtr() function
83 var_dump( strtr($str, $from, $to) );
92 *** Testing strtr() function: with unexpected inputs for 'to' ***
114 Warning: strtr() expects parameter 3 to be string, array given in %s on line %d
119 Warning: strtr() expects parameter 3 to be string, array given in %s on line %d
124 Warning: strtr() expects parameter 3 to be string, array given in %s on line %d
150 Warning: strtr() expects parameter 3 to be string, resource given in %s on line %d