Return to bug32394.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
php
--TEST-- Bug #32394 (offsetUnset() segfaults in a foreach) --FILE-- <?php $object = new ArrayIterator; $object->append(1); foreach($object as $key => $value) { $object->offsetUnset($key); } ?> ===DONE=== --EXPECT-- ===DONE===