Easy Tutorial
❮ Func Curl_Multi_Add_Handle Func String Print ❯

PHP die() Function

PHP Misc Reference Manual

Example

Outputs a message and exits the current script:


Definition and Usage

The die() function outputs a message and exits the current script.

This function is an alias of the exit() function.


Syntax

Parameter Description
message Required. Specifies the message or status number to write before exiting the script. The status number is not written to the output.

Technical Details

Return Value: No return value.
PHP Version: 4+
--- ---
❮ Func Curl_Multi_Add_Handle Func String Print ❯