3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval("Ecoo hello"); shell_exec("ls");
based on 0vLcU
Output for 8.0.0alpha3
Parse error: syntax error, unexpected identifier "hello" in /in/Y60tm(2) : eval()'d code on line 1
Process exited with code 255.
Output for 7.2.0 - 7.2.32, 7.3.0 - 7.3.20, 7.4.0 - 7.4.8, 8.0.0alpha1 - alpha2
Parse error: syntax error, unexpected 'hello' (T_STRING) in /in/Y60tm(2) : eval()'d code on line 1
Process exited with code 255.