3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ "string" . 1 + throw throw throw throw throw throw new Exception("exception"); } catch (Exception $e) { var_dump($e->getMessage()); }

preferences:
94.49 ms | 404 KiB | 5 Q