1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/standard/tests/strings/strtr_with_reference.phpt
2018-10-14 19:45:12 +02:00

13 lines
155 B
PHP

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