![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: strtr() function 3: --FILE-- 4: <?php 5: /* Do not change this test it is a README.TESTING example. */ 6: $trans = array("hello"=>"hi", "hi"=>"hello", "a"=>"A", "world"=>"planet"); 7: var_dump(strtr("# hi all, I said hello world! #", $trans)); 8: ?> 9: --EXPECT-- 10: string(32) "# hello All, I sAid hi planet! #"