1--TEST-- 2SPL: SplDoublyLinkedList : offsetUnset - last 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(2); 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(2) "oh" 22 [1]=> 23 string(3) "hai" 24 } 25} 26