3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo var_dump(exec("bash --version"));
Output for 5.4.42 - 5.4.43, 5.5.24 - 7.2.0
string(0) ""
Output for 4.3.2 - 5.4.41, 5.4.44 - 5.4.45
Warning: exec(): Unable to fork [bash --version] in /in/lrFWQ on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: exec() [http://www.php.net/function.exec]: Unable to fork [bash --version] in /in/lrFWQ on line 3 NULL