← Back
Editing: bug80663.phpt
--TEST-- Bug #80663 (Recursive SplFixedArray::setSize() may cause double-free) --FILE-- <?php class InvalidDestructor { public function __destruct() { $GLOBALS['obj']->setSize(0); } } $obj = new SplFixedArray(1000); $obj[0] = new InvalidDestructor(); $obj->setSize(0); ?> --EXPECT--
Save File
Cancel