$trans = array( "hello "= "hi", "hi" = "hello"); echo strtr("hi all, I said hello", $trans). "\n";
?php $trans = array( "Bonjour "= "salut", "salut" = "bonjour"); echo strtr("Bonjour agrave; tous, j'ai dit bonjour", $trans). "\n";?