Home » » strtr

strtr

Written By 1 on Sunday, September 30, 2012 | 9:56 AM

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

Translate characters or replace substrings


<?php
//In this form, strtr() does byte-by-byte translation
//Therefore, we are assuming a single-byte encoding here:
$addr strtr($addr"äåö""aao");
?>


The strtr Function in PHP

0 Comment:

Post a Comment