xref: /PHP-8.1/ext/spl/tests/dit_003.phpt (revision f8d79582)
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--EXPECT--
13bool(true)
14