]> granicus.if.org Git - php/commit
Don't swap operands of ZEND_MUL
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 8 Jan 2019 08:36:48 +0000 (09:36 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 8 Jan 2019 08:37:49 +0000 (09:37 +0100)
commit1165a9068cbf3c3c24a78b47e0effcf9b90ec5bc
tree9b257249b67e477387d782d71143ad6735ff16a8
parent0d9935739c3a035f74b54aa518f2497975402864
Don't swap operands of ZEND_MUL

If this is used with operator overloading, then the operation does
not necessarily commute (for example, matrix multiplication).
ext/opcache/Optimizer/pass3.c