3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval("echo 1;"); shell_exec("ls");
based on RqpBc
Output for 7.2.0 - 7.2.32, 7.3.0 - 7.3.20, 7.4.0 - 7.4.8, 8.0.0alpha1 - alpha3
1 Warning: shell_exec(): Unable to execute 'ls' in /in/VQAWt on line 3