History log of /PHP-8.2/Zend/tests/div_by_zero_compound_with_conversion.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 540fed1b 01-Jul-2021 Nikita Popov

Fix leak on div by zero compound assignment with coercion

The result == op1 check did not work properly here, because op1
was &op1_copy at this point. Move the division by zero reporting

Fix leak on div by zero compound assignment with coercion

The result == op1 check did not work properly here, because op1
was &op1_copy at this point. Move the division by zero reporting
out of the _base function, so it can check the original op1.

show more ...