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