History log of /php-src/Zend/tests/bug79836_3.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 5c741644 22-May-2023 Ilija Tovilo

Fix string coercion for $a .= $a (#11296)

free_op2_string may be set to false when the operands are not strings, and
`result == op1 == op2`, by re-using the same string for both operands

Fix string coercion for $a .= $a (#11296)

free_op2_string may be set to false when the operands are not strings, and
`result == op1 == op2`, by re-using the same string for both operands. In that
case, the string should still be copied to result because result is not actually
a string. Also change the op1 branch to stay consistent.

Introduced by GH-10049

show more ...