Return to dit_003.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
1.1 misho 1: --TEST-- 2: SPL: FilesystemIterator and foreach 3: --FILE-- 4: <?php 5: $count = 0; 6: foreach(new FilesystemIterator(__DIR__) as $ent) 7: { 8: ++$count; 9: } 10: var_dump($count > 0); 11: ?> 12: ===DONE=== 13: --EXPECTF-- 14: bool(true) 15: ===DONE===