note 29536 deleted from control-structures by didou

From: Date: Sat, 09 Aug 2003 04:47:53 +0000
Subject: note 29536 deleted from control-structures by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53732@lists.php.net to get a copy of this message
Note Submitter: ---- An item that should be added to the Table of Contents on this page: exit And for its description (on a new page): exit -- 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. "Exit" is a language construct but is often treated as a function. The parentheses are unnecessary unless a status needs to be returned.

« previous php.notes (#53732) next »