Created
August 17, 2021 15:53
-
-
Save eklect/207f79d83648bfccd821726af4ac10b6 to your computer and use it in GitHub Desktop.
PHP → To Test throwing a 500 error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("HTTP/1.0 500 Internal Server Error"); | |
http_response_code(500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment