3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $q = exec('pwd'); var_dump($q);
Output for 7.0.14 - 7.1.0
string(0) ""
Output for 4.3.2 - 7.0.10
Warning: exec(): Unable to fork [pwd] in /in/EXMnN on line 3 NULL
Output for 4.3.0 - 4.3.1
Warning: exec() [http://www.php.net/function.exec]: Unable to fork [pwd] in /in/EXMnN on line 3 NULL