3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['v'] = 'return new Exception("ok");'; function f() { return eval($_GET['v'])); } throw f();
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
Parse error: syntax error, unexpected ')' in /in/EMjCc on line 6
Process exited with code 255.

preferences:
191.8 ms | 1395 KiB | 65 Q