History log of /PHP-8.2/Zend/tests/bug78598.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 220880ad 04-Feb-2020 Nikita Popov

Fixed bug #78598

When performing an RW modification of an array offset, the undefined
offset warning may call an error handler / OB callback, which may
destroy the array we're suppos

Fixed bug #78598

When performing an RW modification of an array offset, the undefined
offset warning may call an error handler / OB callback, which may
destroy the array we're supposed to change. Detect this by temporarily
incrementing the reference count. If we find that the array has been
modified/destroyed in the meantime, we do nothing -- the execution
model here would be that the modification has happened on the destroyed
version of the array.

show more ...