php-src/ext/spl/tests/dit_003.phpt
2012-10-10 10:27:49 +08:00

16 lines
206 B
PHP

--TEST--
SPL: FilesystemIterator and foreach
--FILE--
<?php
$count = 0;
foreach(new FilesystemIterator(__DIR__) as $ent)
{
++$count;
}
var_dump($count > 0);
?>
===DONE===
--EXPECTF--
bool(true)
===DONE===