3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo getcwd(); mkdir("Testdir");
Output for 7.3.0rc3 - 7.3.0rc4
/ Warning: mkdir(): open_basedir restriction in effect. File(Testdir) is not within the allowed path(s): (/tmp:/in:/etc) in /in/vSclD on line 5
Output for 5.2.3 - 7.1.10, 7.2.0, 7.3.0alpha1 - 7.3.0beta1
/ Warning: mkdir(): Permission denied in /in/vSclD on line 5
Output for 7.1.20, 7.2.6
/ Warning: mkdir(): open_basedir restriction in effect. File(Testdir) is not within the allowed path(s): (/tmp:/in) 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