1--TEST--
2SplDoublyLinkedList::offsetGet() with 1st parameter passed as array.
3--CREDITS--
4PHPNW Test Fest 2009 - Jordan Hatch
5--FILE--
6<?php
7
8$array = new SplDoublyLinkedList( );
9
10$get = $array->offsetGet( array( 'fail' ) );
11
12?>
13--EXPECTF--
14Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of type int, array given in %s
15Stack trace:
16#0 %s
17#1 {main}
18  thrown in %s on line %d
19