3v4l.org

run code in 300+ PHP versions simultaneously
<?php // display_errors=1 for "HTTP 200 OK", // display_errors=0 for "HTTP 500 Internal Server Error" ... ini_set("display_errors","0"); throw new \Exception("test");
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.9, 8.0.0alpha1 - beta1

Process exited with code 255.