3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mkdir('/tmp/test'); foreach(new GlobIterator('/tmp/*', FilesystemIterator::SKIP_DOTS) as $file) { echo $file.PHP_EOL; //var_dump(file_get_contents($file)); }
Output for 5.3.0 - 7.1.10
/tmp/test