3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo getcwd(); mkdir("Testdir");
Output for 5.2.3 - 7.2.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