die()


void die (int/string $status)

Description

die() outputs a message and terminates the current script

※ available F/W version : all

Parameters

Return values

No value is returned.

Example

<?php
die("This script will be terminated.\r\n");
while(1);
?>

See also

exit()

Remarks

This function is identical to the PHP group’s die() function except when the $status is an integer.