strtr

Definition

string strtr ( string $str , string $from , string $to )

Description

If given three arguments, this function returns a copy of str where all occurrences of each (single-byte) character in from have been translated to the corresponding character in to, i.e., every occurrence of $from[$n] has been replaced with $to[$n], where $n is a valid offset in both arguments.

[More at php.net]

Parameters




loading


Share/bookmark - strtr


Global comments