exit()


void exit (int/string $status)

Description

exit() outputs a message and terminates the current script

※ available F/W version : all

Parameters

Return values

No value is returned.

Example

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

See also

die()

Remarks

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