3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num1 = 10; $num2 = 15; $num3 = ($num1 + $num2) * $num1; echo $num3; shell_exec('echo "hello"');
Output for 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.14 - 7.1.0
250
Output for 4.3.2 - 5.6.25, 7.0.0 - 7.0.10
250 Warning: shell_exec(): Unable to execute 'echo "hello"' in /in/HFcZa on line 9
Output for 4.3.0 - 4.3.1
250 Warning: shell_exec() [http://www.php.net/function.shell-exec]: Unable to execute 'echo "hello"' in /in/HFcZa on line 9