strtr_with_reference.phpt   [plain text]


--TEST--
strtr() with references
--FILE--
<?php

$foo = 'foo';
$arr = ['bar' => &$foo]; 
var_dump(strtr('foobar', $arr));

?>
--EXPECT--
string(6) "foofoo"