Re: exit() summary

From: Date: Wed, 19 Dec 2001 23:27:21 +0000
Subject: Re: exit() summary
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-74466@lists.php.net to get a copy of this message
I say we apply the shell_exit() patch and move on with our lives. If you are dead set on making exit work like that, then change your own code and be happy. I just want a solution ASAP. The code is written. Brian. ----- Original Message ----- From: "Markus Fischer" <mfischer@guru.josefine.at> To: "Derick Rethans" <d.rethans@jdimedia.nl> Cc: "PHP Developers Mailing List" <php-dev@lists.php.net>; <dams@php.net> Sent: Wednesday, December 19, 2001 5:32 PM Subject: Re: [PHP-DEV] exit() summary | I get the impression that many questions raise need a voting | so we see how not only three, four developers respond to it | but how the masses, who're THE userbase, actually use it. | | Do you guys think its silly to have voting or do you think it | can be useful? | | Personally, I've seen several cases in the past where a | voting system would have solved at least the question, what | MORE people think about it. | | - Markus | | On Wed, Dec 19, 2001 at 06:04:35PM +0100, Derick Rethans wrote : | > Hello, | > | > yeah, another endless mail shout at, well, listen first :) | > | > As you all know, a lot of ppl think that Backward Compability is The Most | > Presious Thing. Other ppl think that more and better functions are more | > important. This sometimes requires _breaking_ backward compability (uh | > oh, i mentioned it), as was cheerfull mentioned by Mr Lemos. Although he | > has a good point, we still decided (one year ago) that the dirname was | > broken. <soft voice>The same is true for exit().</soft voice><loud | > voice>It's simply broken</loud voice> from a programmers perspective. Look | > at C/Pascal/shells/Java and every other programming language available on | > Earth, but no, because some programmer that wrote the language semantics, | > thought, hey, let's exit() print out the status too, cause it looks nice. | > BAD. | > | > Ok, that was the problem, now the solution: | > | > 1. We fix exit | > 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 all mail | > to exit@vl-srm.net. | > | > Discussions can go on here of course :) | > | > regards, | > Derick | > | > | > | > -- | > 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 | | -- | Please always Cc to me when replying to me on the lists. | | -- | 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 | | |

« previous php.dev (#74466) next »