3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo getcwd(); mkdir("Testdir");
Output for 5.2.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
/ Warning: mkdir(): Permission denied in /in/vSclD on line 5
Output for 5.0.0 - 5.2.2
/in Warning: mkdir(): Read-only file system in /in/vSclD on line 5
Output for 4.3.2 - 4.4.9
/in Warning: mkdir(Testdir): Read-only file system in /in/vSclD on line 5
Output for 4.3.0 - 4.3.1
/in Warning: mkdir(Testdir) [http://www.php.net/function.mkdir]: Read-only file system in /in/vSclD on line 5