3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { array_map(function() { throw new Exception; }, [1]); } catch (Exception $e) {}

preferences:
24.08 ms | 486 KiB | 6 Q