note 38232 deleted from function.exit by nlopess
| From: | nlopess@php.net | Date: | Tue, 27 Apr 2004 13:40:24 +0000 |
| Subject: | note 38232 deleted from function.exit by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68882@lists.php.net to get a copy of this message | ||
Note Submitter: daevid@daevid.com
----
just a bit of trivia for you non C programmers if you're trying to be compatible...
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
so keep that in mind. While an exit(1) would seem that your program worked (thinking in boolean
true/false terms), it actually means failure...