Lines Matching refs:strtr
2 Test strtr() function : usage variations - unexpected inputs for 'replace_pairs' 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 'replace_pairs'
15 echo "*** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***\n";
75 // loop through with each element of the $replace_pairs array to test strtr() function
80 var_dump( strtr($str, $replace_pairs) );
89 *** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***
93 Warning: strtr(): The second argument is not an array in %s on line %d
98 Warning: strtr(): The second argument is not an array in %s on line %d
103 Warning: strtr(): The second argument is not an array in %s on line %d
108 Warning: strtr(): The second argument is not an array in %s on line %d
113 Warning: strtr(): The second argument is not an array in %s on line %d
118 Warning: strtr(): The second argument is not an array in %s on line %d
132 Warning: strtr(): The second argument is not an array in %s on line %d
137 Warning: strtr(): The second argument is not an array in %s on line %d
142 Warning: strtr(): The second argument is not an array in %s on line %d
147 Warning: strtr(): The second argument is not an array in %s on line %d
152 Warning: strtr(): The second argument is not an array in %s on line %d
157 Warning: strtr(): The second argument is not an array in %s on line %d
162 Warning: strtr(): The second argument is not an array in %s on line %d
167 Warning: strtr(): The second argument is not an array in %s on line %d
172 Warning: strtr(): The second argument is not an array in %s on line %d
177 Warning: strtr(): The second argument is not an array in %s on line %d