mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
The qa.php.net currently includes nice collection of information about tests and how to run them. Instead of maintaining two locations of this information, this patch removes the README.TESTING from the php-src repo. Patch for qa.php.net has been sent separately to that repo.
10 lines
236 B
PHP
10 lines
236 B
PHP
--TEST--
|
|
strtr() function
|
|
--FILE--
|
|
<?php
|
|
$trans = array("hello"=>"hi", "hi"=>"hello", "a"=>"A", "world"=>"planet");
|
|
var_dump(strtr("# hi all, I said hello world! #", $trans));
|
|
?>
|
|
--EXPECT--
|
|
string(32) "# hello All, I sAid hi planet! #"
|