mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
14 lines
296 B
PHP
14 lines
296 B
PHP
--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)
|