3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(dir('/'));
Output for 4.3.2 - 7.2.0
Warning: dir(/): failed to open dir: Permission denied in /in/NNgH8 on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: dir(/) [http://www.php.net/function.dir]: failed to open dir: Permission denied in /in/NNgH8 on line 2 bool(false)