3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(exec('ls /'));
Output for 5.6.28, 7.0.14 - 7.1.0
string(0) ""
Output for 4.3.2 - 5.6.25, 7.0.0 - 7.0.10
Warning: exec(): Unable to fork [ls /] in /in/roMHU on line 1 NULL
Output for 4.3.0 - 4.3.1
Warning: exec() [http://www.php.net/function.exec]: Unable to fork [ls /] in /in/roMHU on line 1 NULL