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--EXPECT-- 15object(SplDoublyLinkedList)#1 (2) { 16 ["flags":"SplDoublyLinkedList":private]=> 17 int(0) 18 ["dllist":"SplDoublyLinkedList":private]=> 19 array(2) { 20 [0]=> 21 string(3) "hai" 22 [1]=> 23 string(4) "thar" 24 } 25} 26