3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo var_dump(dir('/'));
Output for 4.3.2 - 5.6.21, 7.0.0 - 7.1.0
Warning: dir(/): failed to open dir: Permission denied in /in/HTO6j on line 3 bool(false)
Output for hhvm-3.12.0
Warning: Permission denied in /in/HTO6j on line 3 bool(false)
Output for hhvm-3.10.0
Warning: Permission denied in /in/HTO6j on line 6 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/HTO6j on line 3 bool(false)