strtr

function call:
string strtr( string $string, string $from , string $to )

description:
This function returns a copy of $str, translating all occurrences of each character in $from to the corresponding character in $to.

If $from and $to are different lengths, the extra characters in the longer of the two are ignored.

test strtr online:
$str

$from

$to


Werbung
Information
PHP-Version: 5.2.6
Last changes: my blog (german only)
Change language: strtr auf Deutsch online testen