note 22791 added to function.exit
| From: | leon at euroxs dot nl | Date: | Sun, 30 Jun 2002 03:48:00 +0000 |
| Subject: | note 22791 added to function.exit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32431@lists.php.net to get a copy of this message | ||
When running a php script as a shell script, the exit() command does not seem to report the exit
code to the shell.
exit(100); will not return 100 as exit code to the shell...
--
http://www.php.net/manual/en/function.exit.php
http://master.php.net/manage/user-notes.php?action=edit+22791
http://master.php.net/manage/user-notes.php?action=delete+22791
http://master.php.net/manage/user-notes.php?action=reject+22791