1--TEST--
2Test str_replace() function and array refs
3--INI--
4precision=14
5--FILE--
6<?php
7$data = ['a' => 'b', 'numeric' => 1];
8$ref = &$data;
9$b = &$ref['a'];
10$numeric = &$ref['numeric'];
11var_dump(str_replace(array_keys($data), $data, "a numeric"));
12var_dump($numeric);
13var_dump($data['numeric']);
14?>
15--EXPECT--
16string(3) "b 1"
17int(1)
18int(1)
19