PHP » Control Structures » exit()

Syntax:
void exit([mixed status])
status
Message to print or status to return.

Stops the execution of a script.

exit() is an alias of die().

See Also: