note 29533 added to function.exit

From: Date: Sun, 16 Feb 2003 20:40:03 +0000
Subject: note 29533 added to function.exit
Groups: php.notes 
Request: Send a blank email to php-notes+get-44067@lists.php.net to get a copy of this message
exit -- Output a message and terminate all script execution for this request. (For HTTP requests, this causes the response generated thus far to be sent to the browser.) Use "return" to terminate the current script only and return to any script that included it (resuming execution at the point after the include). "exit" can be used immediately following a "require" or "include" to simulate unconditional branching (i.e. "go to") to another script file. -- http://www.php.net/manual/en/function.exit.php http://master.php.net/manage/user-notes.php?action=edit+29533 http://master.php.net/manage/user-notes.php?action=delete+29533 http://master.php.net/manage/user-notes.php?action=reject+29533

« previous php.notes (#44067) next »