mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
15 lines
244 B
PHP
15 lines
244 B
PHP
--TEST--
|
|
Check that SplObjectStorage::current returns NULL when storage is empty
|
|
--CREDITS--
|
|
PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com)
|
|
--FILE--
|
|
<?php
|
|
|
|
$s = new SplObjectStorage();
|
|
|
|
var_dump($s->current());
|
|
|
|
?>
|
|
--EXPECT--
|
|
NULL
|
|
|