]> granicus.if.org Git - php/commit
Fix ref handling in array_merge/replace_recursive()
authorNikita Popov <nikic@php.net>
Fri, 29 Jul 2016 17:07:04 +0000 (19:07 +0200)
committerNikita Popov <nikic@php.net>
Fri, 29 Jul 2016 17:07:04 +0000 (19:07 +0200)
commit8a442a33c319a9663212e732dda4cd717d4efff6
tree7c11790368ff76d9912e6f69fe4598505fc655a7
parent1666e80cb90c3c88bfd00522999e862625222e9b
Fix ref handling in array_merge/replace_recursive()

As usual, if the reference has rc=1 it really isn't a reference.
ext/standard/array.c
ext/standard/tests/array/array_merge_replace_recursive_refs.phpt [new file with mode: 0644]