Expressions: Exit
The exit
expression is used to terminate the current script, optionally specifying an exit value that is returned to the execution environment.
exit;
exit(1);
The exit value must be a literal integer value in the range of 0
to 255
, inclusive.