blob: 33d95f04c782c612a95e94515d77dd320cfef5a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
Bug #67538 (SPL Iterators use-after-free)
--FILE--
<?php
$list = new SplDoublyLinkedList();
$list->push('a');
$list->push('b');
$list->rewind();
$list->offsetUnset(0);
$list->push('b');
$list->offsetUnset(0);
$list->next();
echo "okey";
?>
--EXPECT--
okey
|