History log of /PHP-8.2/Zend/tests/assign_op_type_error.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# cf377eef 06-Dec-2021 Nikita Popov

Don't convert assign op operand types in opcache

This is the same change as 56b18d478ed9e40afd66860e82017d5c2017eac1
but for ASSIGN_OP. Changing the operand type may change the error

Don't convert assign op operand types in opcache

This is the same change as 56b18d478ed9e40afd66860e82017d5c2017eac1
but for ASSIGN_OP. Changing the operand type may change the error
message and can result in different behavior with operator overloading.

As with the other patch, if there is strong interest this could be
added to the DFA pass instead, with an appropriate type check.

show more ...