3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ throw new Exception('test'); }catch($e) { echo "seen"; die('never gonna give up'); }
Output for 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
Parse error: syntax error, unexpected variable "$e" in /in/FZYM8 on line 5
Process exited with code 255.

preferences:
149.76 ms | 951 KiB | 7 Q