note 38232 added to function.exit

From: Date: Sat, 13 Dec 2003 00:21:55 +0000
Subject: note 38232 added to function.exit
Groups: php.notes 
Request: Send a blank email to php-notes+get-61883@lists.php.net to get a copy of this message
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... ---- Manual Page -- http://www.php.net/manual/en/function.exit.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38232 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38232&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38232&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61883) next »