Skip to content

exit_500()

Terminate execution with a 500 Internal Server Error response code.

This function sets the response headers to indicate a 500 Internal Server Error and terminates the execution of the script. It should be used when an unrecoverable error occurs and the server cannot fulfill the request.


  • Full name: exit_500
  • Defined in: src/Functions/Dump.php

Parameters

This function has no parameters.

Return Value

void