php-src/ext/spl/tests/dit_003.phpt
2008-05-24 14:10:44 +00:00

16 lines
204 B
PHP
Executable File

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