note 47705 deleted from function.exit by tularis
| From: | tularis@php.net | Date: | Sun, 06 May 2007 22:18:45 +0000 |
| Subject: | note 47705 deleted from function.exit by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126266@lists.php.net to get a copy of this message | ||
Note Submitter: chris at artimador dot com
----
When using php as a SHELL scripting language, use die() instead of exit(). If using exit in php5,
the script will continue to processes conditionals and other shell_exec functions after the die
command.