3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php dir();
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: dir() expects at least 1 parameter, 0 given in /in/QnXal on line 2
Output for hhvm-3.10.0 - 3.13.2
Warning: dir() expects exactly 1 parameter, 0 given in /in/QnXal on line 2
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for dir() in /in/QnXal on line 2