strtr
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.
Diese Funktion gibt eine Kopie von $str zurück, in der alle Vorkommen jedes Zeichens von $from in das korrespondierende Zeichen in $to umgewandelt wurde.
Haben $from und $to eine unterschiedliche Länge, werden die überzähligen Zeichen im jeweils längeren Parameter ignoriert.
Esta función trabaja sobre $str, traduciendo todas las apariciones de cada caracter en $from por el caracter correspondiente en $to y devolviendo el resultado.
Si $from y $to son de distinta longitud, se ignoran los caracteres extra en la más larga.
strtr() retourne la chaîne $str, après avoir remplacé chaque caractère du paramètre $from par son équivalent dans le paramètre $to.
Si $from et $to sont de tailles différentes, les caractères en trop dans l'un ou l'autre seront ignorés.
Esta função retorna uma cópia de $str, traduzindo todas as ocorrências de cada caractere em $from para o caractere correspondente em $to.
Se $from e $to são de comprimentos diferentes, os caracteres extras no mais longo dos dois são ignorados.
declaration of strtr
string strtr ( string $string , string $from , string $to )
test strtr online
bookmark strtr
comments for strtr
be the first
No comments so far for strtr(). Leave yours as first below.
