3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); ini_set("display_errors", true); set_error_handler(function() { print_r(func_get_args()); }); try { new DateTimeZone("Twilight zone"); } catch (Exception $e) { // ignore } print_r(error_get_last());

preferences:
40.05 ms | 402 KiB | 5 Q