exit() summary
| From: | exit at vl-srm dot net | Date: | Wed, 19 Dec 2001 18:11:15 +0000 |
| Subject: | exit() summary | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78234@lists.php.net to get a copy of this message | ||
Hello,
As Jani wrote in an earlier e-mail, we have a problem with exit(). If you
pass it an integer, like exit(1), it will set the exit status to 1, and
_print_ 1 to the output stream.
Ok, that was the problem, this are the solutions:
1. We fix exit, so that it does not print the value if it is an integer
2. We add an extra argument to exit, which silences the output
3. We make exit understand @, like @exit();
4. We add a new function
Before hell breaks loose again, I don't want to hear comments on this,
only reply's with those numbers in the subject. You can direct these votes
to exit@vl-srm.net.
regards,
Derick