3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php dir('./');
Output for 7.3.0rc4
Warning: dir(): open_basedir restriction in effect. File(./) is not within the allowed path(s): (/tmp:/in:/etc) in /in/da0qG on line 2 Warning: dir(./): failed to open dir: Operation not permitted in /in/da0qG on line 2
Output for 4.3.2 - 7.2.0
Warning: dir(./): failed to open dir: Permission denied in /in/da0qG on line 2
Output for 4.3.0 - 4.3.1
Warning: dir(./) [http://www.php.net/function.dir]: failed to open dir: Permission denied in /in/da0qG on line 2