3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mkdir(__DIR__ . '/Яндекс'); print_r(scandir(__DIR__));
Output for 5.6.28, 7.0.20 - 7.2.0
Warning: mkdir(): Permission denied in /in/qA9k4 on line 3 Warning: scandir(/in): failed to open dir: Permission denied in /in/qA9k4 on line 4 Warning: scandir(): (errno 13): Permission denied in /in/qA9k4 on line 4
Output for 5.3.18 - 5.6.21, 7.0.0 - 7.0.6
Warning: mkdir(): Read-only file system in /in/qA9k4 on line 3 Warning: scandir(/in): failed to open dir: Permission denied in /in/qA9k4 on line 4 Warning: scandir(): (errno 13): Permission denied in /in/qA9k4 on line 4