PHP/Utility Function/exit
void exit ( [mixed status] ) terminates execution of a script, and is an alias of the exit( ) function.
<source lang="html4strict">
$db = open_database( ) OR die("Couldn"t open database!");
</source>
void exit ( [mixed status] ) terminates execution of the script
<source lang="html4strict">
if ($password != "frosties") {
print "Access denied."; exit( ); // note: ( ) is optional } </source>