array_values dropped references
commitf48de277d45979afa78e4b37145a9df9e20d3a28
authorMark Williams <mwilliams@fb.com>
Fri, 26 Apr 2013 19:02:10 +0000 (26 12:02 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 30 Apr 2013 16:27:04 +0000 (30 09:27 -0700)
tree8e27d03da6d8f4a7f84a9bf3fe3a800b20b009b8
parent603d50c7b10136f51212604cbf3eb91aaa19cea7
array_values dropped references

It should preserve them. This was breaking pass-by-reference
via ReflectionFunction::invokeArgs.
hphp/runtime/base/type_array.cpp
hphp/test/quick/array_values.php [new file with mode: 0644]
hphp/test/quick/array_values.php.expect [new file with mode: 0644]