3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php mkdir('/a');
Output for 5.0.0 - 7.1.0
Warning: mkdir(): Permission denied in /in/aAvWe on line 3
Output for 4.3.2 - 4.4.9
Warning: mkdir(/a): Permission denied in /in/aAvWe on line 3
Output for 4.3.0 - 4.3.1
Warning: mkdir(/a) [http://www.php.net/function.mkdir]: Permission denied in /in/aAvWe on line 3