]> granicus.if.org Git - php/commit
Don't convert binop operand types in opcache
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 1 Apr 2020 12:35:01 +0000 (14:35 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 1 Apr 2020 12:39:41 +0000 (14:39 +0200)
commit56b18d478ed9e40afd66860e82017d5c2017eac1
tree54f8997aeaa3136e81d7306b70b750bdcd115034
parent2d8f9f34dd46115fc3957b95f7a3c9c7e21a4c89
Don't convert binop operand types in opcache

This may produce different behavior if operator overloading is
involved, and may change the error message.

If there's strong interest, this could be done in the DFA pass
with available type information. It does not look particularly
practically useful to me though.
ext/opcache/Optimizer/pass1.c