note 51140 added to function.die
| From: | matt at hehe dot gov | Date: | Mon, 21 Mar 2005 16:17:06 +0000 |
| Subject: | note 51140 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86751@lists.php.net to get a copy of this message | ||
If you want to issue die on a file that is inside an include, it will keep everything else from
running through and finishing.
You can prevent this by using return;. It ends the current file but lets the others keep going.
----
Manual Page -- http://www.php.net/manual/en/function.die.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51140
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51140&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51140&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51140&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51140&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51140&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51140&report=yes
Search -- http://master.php.net/manage/user-notes.php