PHP function strtr()
A copy of str, translating all occurrences of each character in from to the corresponding character in to.
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$str |
string |
not | |
$replace_pairs |
array |
not |
Return values
string
A copy of str, translating all occurrences of each character in from to the corresponding character in to.
Loading comments...