1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/standard/tests/strings/strtr_with_reference.phpt
2014-05-09 15:14:27 +02:00

13 lines
156 B
PHP

--TEST--
strtr() with references
--FILE--
<?php
$foo = 'foo';
$arr = ['bar' => &$foo];
var_dump(strtr('foobar', $arr));
?>
--EXPECT--
string(6) "foofoo"