3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo eval('4+2');
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.22, 7.4.0 - 7.4.10, 8.0.0alpha1 - beta3
Parse error: syntax error, unexpected end of file in /in/9t6QS(3) : eval()'d code on line 1
Process exited with code 255.