History log of /PHP-8.2/Zend/tests/assign_dim_op_same_var.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 55aadc64 01-Nov-2021 Nikita Popov

Fix self-assign evaluation order for ASSIGN_DIM_OP

For $ary[idx] op= $ary we should evaluate the RHS operand first,
otherwise we may create a reference-free recursive array. Use the

Fix self-assign evaluation order for ASSIGN_DIM_OP

For $ary[idx] op= $ary we should evaluate the RHS operand first,
otherwise we may create a reference-free recursive array. Use the
same handling we do for the normal $ary[idx] = $ary case.

Fixes oss-fuzz #40287.

show more ...