note 89966 deleted from function.exit by danbrown

From: Date: Tue, 31 Mar 2009 18:08:52 +0000
Subject: note 89966 deleted from function.exit by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-152660@lists.php.net to get a copy of this message
Note Submitter: Tom ---- @Roumen Semov: Your example is not entirely correct. You shouldn't use exit(-1), because that might cause problems with PHP. Most systems' exit codes are one-byte, so exit(-1) would be the same as exit(255), which is reserved by PHP.

« previous php.notes (#152660) next »