The die() function prints a message and exits the current script.
This language construct is equivalent to exit().
Parameter | Description |
---|---|
message | Required. Specifies the message or status number to write before exiting the script. The status number will not be written to the output. |