Lines Matching refs:strtr
2 Test strtr() function : usage variations - string containing special chars for 'str' argument
5 /* Prototype : string strtr(string $str, string $from[, string $to]);
6 string strtr(string $str, array $replace_pairs);
11 /* Testing strtr() function by passing the
16 echo "*** Testing strtr() : string containing special chars for 'str' arg ***\n";
47 /* loop through to test strtr() with each element of $str_arr */
53 //strtr() call in three args syntax form
54 var_dump( strtr($str, $from, $to) );
56 //strtr() call in two args syntax form
57 var_dump( strtr($str, $replace_pairs) );
64 *** Testing strtr() : string containing special chars for 'str' arg ***