blob: f129385d07902ccc15129875fee1c93779ffeb60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Check that SplDoublyLinkedList->isEmpty() correctly returns true for an empty list.
--CREDITS--
PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
--FILE--
<?php
// Create a new Doubly Linked List
$dll = new SplDoublyLinkedList();
var_dump($dll->isEmpty());
?>
--EXPECT--
bool(true)
|