1--TEST--
2SPL: SplDoublyLinkedList : offsetUnset - first element
3--CREDITS--
4PHPNW 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$list->offsetUnset(0);
12var_dump($list);
13?>
14--EXPECTF--
15object(SplDoublyLinkedList)#1 (2) {
16  [%u|b%"flags":%u|b%"SplDoublyLinkedList":private]=>
17  int(0)
18  [%u|b%"dllist":%u|b%"SplDoublyLinkedList":private]=>
19  array(2) {
20    [0]=>
21    %string|unicode%(3) "hai"
22    [1]=>
23    %string|unicode%(4) "thar"
24  }
25}
26