note 29533 deleted from function.exit by nlopess
| From: | nlopess@php.net | Date: | Sun, 02 May 2004 09:58:33 +0000 |
| Subject: | note 29533 deleted from function.exit by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69104@lists.php.net to get a copy of this message | ||
Note Submitter: frappyjohn@dos2linux.org
----
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.