3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php umask(0027); mkdir("/ewew", 0777);
based on tfB0k
Output for 5.0.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Warning: mkdir(): Permission denied in /in/W5MZ3 on line 5
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 4.4.9
Warning: mkdir(/ewew): Permission denied in /in/W5MZ3 on line 5
Output for 4.3.0 - 4.3.1
Warning: mkdir(/ewew) [http://www.php.net/function.mkdir]: Permission denied in /in/W5MZ3 on line 5