Re: Question: Should exit() print out the integer exit-status?

From: Date: Thu, 20 Dec 2001 18:19:26 +0000
Subject: Re: Question: Should exit() print out the integer exit-status?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-74615@lists.php.net to get a copy of this message
Zeev Suraski wrote: [snip]
What I *really* fail to understand is the gain we get by modifying exit()'s behavior, as opposed to adding a new function or adding a new $silent argument. Giving a WFF to several people? Consistency with other languages that have nothing to do with the Web environment (which is why we got so little complaints about this over *5* years)?
If something has been broken for 5 years, and nobody complained, that doesn't mean it does not have to get fixed. Maybe people just haven't cared enough until now. Making several exit()-like functions, one for each bugfix to what should really be the only exit() function is IMHO not very good. Making exit() accept two parameters... well, it's probably not quite as bad, but... well, this will be the first exit() with two arguments I know of... Vlad

« previous php.dev (#74615) next »