3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(dir('/in/rgGVB'));
based on rgGVB
Output for 5.6.28, 7.0.14 - 7.1.0
Warning: dir(/in/rgGVB): failed to open dir: No such file or directory in /in/hn4NS on line 2 bool(false)
Output for 4.3.2 - 5.6.21, 7.0.0 - 7.0.6
Warning: dir(/in/rgGVB): failed to open dir: Not a directory in /in/hn4NS on line 2 bool(false)
Output for hhvm-3.12.0
Warning: Not a directory in /in/hn4NS on line 2 bool(false)
Output for hhvm-3.10.0
Warning: Not a directory in /in/hn4NS on line 6 bool(false)
Output for 4.3.0 - 4.3.1
Warning: dir(/in/rgGVB) [http://www.php.net/function.dir]: failed to open dir: Not a directory in /in/hn4NS on line 2 bool(false)