1--TEST--
2Check that SplDoublyLinkedList->isEmpty() returns an error message when a parameter is passed.
3--CREDITS--
4PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
5--FILE--
6<?php
7	// Create a new Doubly Linked List
8	$dll = new SplDoublyLinkedList();
9
10	// Add some items to the list
11	$dll->push(1);
12	$dll->push(2);
13	$dll->push(3);
14	//var_dump($dll);
15
16	var_dump($dll->isEmpty("test"));
17?>
18--EXPECTF--
19Warning: SplDoublyLinkedList::isEmpty() expects exactly 0 parameters, %d given in %s
20NULL