Re: patch to make for better shell scripting
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)