3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(shell_exec('ls -la'));
Output for 5.3.7 - 5.3.28, 5.4.0 - 5.4.26, 5.4.44 - 5.6.28, 7.0.0 - 7.1.0
NULL
Output for hhvm-3.10.0 - 3.12.0
string(25) "Failed to exec: `ls -la' "
Output for 5.3.29, 5.4.27 - 5.4.43
NULL sh: 1: ls: not found