blob: 4ffc2921e0c45d9df1aac67bcacab105bb2f337a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--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===
|