/2.0/Tests/@PHP/standard/strings/strtr.php
PHP | 9 lines | 7 code | 1 blank | 1 comment | 0 complexity | 8cbe8902e2ae04f88cc1bd4dd133c518 MD5 | raw file
Possible License(s): CPL-1.0, GPL-2.0, CC-BY-SA-3.0, MPL-2.0-no-copyleft-exception, Apache-2.0
- [expect php]
- [file]
- <?php
- require('Phalanger.inc');
-
- /* Do not change this test it is a README.TESTING example. */
- $trans = array("hello"=>"hi", "hi"=>"hello", "a"=>"A", "world"=>"planet");
- __var_dump(strtr("# hi all, I said hello world! #", $trans));
- ?>