1--TEST--
2Doubly Linked List - offsetUnset > number elements
3--CREDITS--
4PHPNW Test Fest 2009 - Mat Griffin
5--FILE--
6<?php
7$ll = new SplDoublyLinkedList();
8
9$ll->push('1');
10$ll->push('2');
11$ll->push('3');
12
13try {
14
15$ll->offsetUnset($ll->count() + 1);
16
17var_dump($ll);
18
19} catch(Exception $e) {
20echo $e->getMessage();
21}
22
23?>
24--EXPECT--
25Offset out of range
26