Re: patch to make for better shell scripting

From: Date: Fri, 07 Sep 2001 10:15:33 +0000
Subject: Re: patch to make for better shell scripting
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65326@lists.php.net to get a copy of this message
At 12:45 07-09-01, Edin Kadribasic wrote:
Well, here is my patch finally for enabling a shell mode with the command line. Mainly this patch adds a -S option that will turn off html errors, error_prepend_string, error_append_string, and output buffering. This will keep people from having to maintain two ini files. 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. Zeev

Thread (9 messages)

« previous php.dev (#65326) next »