3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ intdiv(1,0) }catch(ErrorException $e){ echo $e; }
Output for 7.1.0 - 7.1.17, 7.2.0 - 7.2.6
Parse error: syntax error, unexpected '}' in /in/GkHJ1 on line 6
Process exited with code 255.

preferences:
182.6 ms | 1386 KiB | 32 Q