Annotation of embedaddon/php/ext/spl/tests/SplDoublylinkedlist_offsetunset_first002.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: SPL: SplDoublyLinkedList : offsetUnset - first element
3: --CREDITS--
4: PHPNW TestFest2009 - Rowan Merewood <rowan@merewood.org>
5: --FILE--
6: <?php
7: $list = new SplDoublyLinkedList();
8: $list->push('oh');
9: $list->push('hai');
10: $list->push('thar');
11: echo $list->bottom() . "\n";
12: $list->offsetUnset(0);
13: echo $list->bottom() . "\n";
14: ?>
15: --EXPECT--
16: oh
17: hai
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>