3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php exec('ls', $output, $ret);var_dump($output);var_dump($ret);
based on LLXBN
Output for 4.3.0, 5.4.39 - 7.1.0
array(0) { } int(127)
Output for 4.3.1 - 5.4.38
array(0) { } int(127) sh: 1: ls: not found