3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php pcntl_exec("cat /dev/null > /dev/sdb1");
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function pcntl_exec() in /in/jHBAH:2 Stack trace: #0 {main} thrown in /in/jHBAH on line 2
Process exited with code 255.
Output for 5.4.0 - 5.6.21
Fatal error: Call to undefined function pcntl_exec() in /in/jHBAH on line 2
Process exited with code 255.
Output for 5.0.0 - 5.3.29
Warning: pcntl_exec(): Error has occured: (errno 2) No such file or directory in /in/jHBAH on line 2
Output for 4.3.0 - 4.4.9
Warning: Error has occured in pcntl_exec: (errno 2) No such file or directory in /in/jHBAH on line 2