mirror of
https://github.com/php/php-src.git
synced 2024-10-15 05:22:48 +00:00
12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
|
--TEST--
|
||
|
strtr() function
|
||
|
--POST--
|
||
|
--GET--
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$trans = array("hello" => "hi", "hi" => "hello","a" => "A","world" => "planet");
|
||
|
echo strtr("# hi all, I said hello world! #", $trans) . "\n";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
# hello All, I sAid hi planet! #
|