1--TEST--
2SPL SplDoublyLinkedList offsetExists displays warning and returns null on no parameters
3--CREDITS--
4PHPNW TestFest 2009 - Ben Longden
5--FILE--
6<?php
7$list = new SplDoublyLinkedList();
8$a = $list->offsetExists();
9if(is_null($a)) {
10	echo 'PASS';
11}
12?>
13--EXPECTF--
14Warning: SplDoublyLinkedList::offsetExists() expects exactly 1 parameter, 0 given in %s on line %d
15PASS
16