xref: /PHP-5.4/ext/spl/tests/dit_003.phpt (revision 610c7fbe)
1--TEST--
2SPL: FilesystemIterator and foreach
3--FILE--
4<?php
5$count = 0;
6foreach(new FilesystemIterator(__DIR__) as $ent)
7{
8	++$count;
9}
10var_dump($count > 0);
11?>
12===DONE===
13--EXPECTF--
14bool(true)
15===DONE===
16