3v4l.org

run code in 300+ PHP versions simultaneously
<?php throw new Exception(print_r(array(1), true));

preferences:
40.94 ms | 402 KiB | 5 Q