Re: exit()
| From: | Brian Moon | Date: | Wed, 26 Dec 2001 04:24:34 +0000 |
| Subject: | Re: exit() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75003@lists.php.net to get a copy of this message | ||
+1
----- Original Message -----
From: "Andi Gutmans" <andi@zend.com>
To: <php-dev@lists.php.net>
Sent: Friday, December 21, 2001 3:20 AM
Subject: [PHP-DEV] exit()
| Guys,
|
| I just read the whole thread about exit() now. Boy you guys write a lot :)
| Unlike Zeev I think that overloading exit() is the best solution we have
| right now.
| Have exit(integer) exit with an exit status and exit("string") print the
| error. I also very much liked the proposal of exit(string, integer) where
| it would behave correctly with exit("foo"), exit(5) and exit("foo", 5).
| I think BC is an issue and I wouldn't want to break stuff during a 4.x
| release. It's not as if people can't survive with the way it is today
| (people have survived for a long time). If it doesn't change tomorrow
| morning it's not like PHP will fall apart.
| How about changing this for PHP 5?
|
| Andi
|
| P.S. - Just a small suggestion. When people write essays in E-mails please
| see if they can't be shortened whilst still saying all you wanted to say.
| It sometimes takes a looooooooong time to read all of these threads :)
|
|
| --
| PHP Development Mailing List <http://www.php.net/>
| To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
| For additional commands, e-mail: php-dev-help@lists.php.net
| To contact the list administrators, e-mail: php-list-admin@lists.php.net
|
|
|