Re: exit() summary - vote 1

From: Date: Wed, 19 Dec 2001 17:49:02 +0000
Subject: Re: exit() summary - vote 1
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74441@lists.php.net to get a copy of this message
1 -Jason ----- Original Message ----- From: "Derick Rethans" <d.rethans@jdimedia.nl> To: "PHP Developers Mailing List" <php-dev@lists.php.net> Cc: <dams@php.net> Sent: Wednesday, December 19, 2001 11:04 AM Subject: [PHP-DEV] exit() summary > 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 >

« previous php.dev (#74441) next »