note 61654 deleted from function.die by sp
| From: | sp@php.net | Date: | Wed, 08 Feb 2006 15:11:58 +0000 |
| Subject: | note 61654 deleted from function.die by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-103313@lists.php.net to get a copy of this message | ||
Note Submitter: maxwoj at mac dot com
Reason: useless
----
If you want to return the control to the parent script, you can use the return keyword. You do not
have to warp a script into a function to use return when something gone wrong. After using
die()/exit() the proccessing will stop at all.