3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set("display_errors", 1); error_reporting(E_ALL); exec('dir', $cmdOutput);
based on HlhbE
Output for 4.3.0, 5.4.45 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant  1 - assumed ' 1' in /in/57UDr on line 2
Output for 5.4.38 - 5.4.44
Notice: Use of undefined constant  1 - assumed ' 1' in /in/57UDr on line 2 sh: 1: dir: not found
Output for 4.3.5 - 5.4.37
Notice: Use of undefined constant  1 - assumed ' 1' in /in/57UDr on line 2 Warning: ini_set() has been disabled for security reasons in /in/57UDr on line 2 sh: 1: dir: not found
Output for 4.3.1 - 4.3.4
Notice: Use of undefined constant  1 - assumed ' 1' in /in/57UDr on line 2 Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/57UDr on line 2 sh: 1: dir: not found