]> granicus.if.org Git - php/commit
Do not swap operands in array addition
authorNikita Popov <nikic@php.net>
Sun, 13 Dec 2015 23:28:41 +0000 (00:28 +0100)
committerNikita Popov <nikic@php.net>
Sun, 13 Dec 2015 23:29:05 +0000 (00:29 +0100)
commit7dc5bc5063f7f8265e32069908dfee797d4a8b02
treefa828ebdd35746320310a0a0913207235c463d8c
parent07b33992a2784bf9e3bbf1d46400c718e704a436
Do not swap operands in array addition

As we support constant array operands nowadays, the original check
didn't work anymore.
Zend/tests/array_addition_not_commutative.phpt [new file with mode: 0644]
ext/opcache/Optimizer/pass3.c