Re: patch to make for better shell scripting

From: Date: Fri, 07 Sep 2001 13:05:17 +0000
Subject: Re: patch to make for better shell scripting
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-65343@lists.php.net to get a copy of this message
At 13:57 07-09-01, Wez Furlong wrote:
On 07/09/01, "Zeev Suraski" <zeev@zend.com> wrote: At 12:45 07-09-01, Edin Kadribasic wrote:
Mainly this patch adds a -S option that will turn off html errors, error_prepend_string, error_append_string, and output buffering.
That's excellent. Now, I'm writing a simple MTA in php and having exit() return error codes instead of printing stuff would be really neat. Is this doable?
Nope - it seriously breaks backwards compatibility. We can have another function that'd do that, shell_exit() or some better name. Can we have both the -S patch and shell_exit() for 4.0.7, or is that asking too much? :-)
Looking in the rules of RC's, then no - it's not a bug fix, but new functionality, which may introduce new problems/bugs. Zeev

Thread (9 messages)

« previous php.dev (#65343) next »