Re: RFC: run-tests.php & errors/warnings
| From: | Derick Rethans | Date: | Tue, 29 Oct 2002 15:25:17 +0000 |
| Subject: | Re: RFC: run-tests.php & errors/warnings | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90262@lists.php.net to get a copy of this message | ||
On Tue, 29 Oct 2002, Ilia A. wrote:
> On October 29, 2002 09:52 am, Marcus Boerger wrote:
>
> > Remark 2: We could instead use the log_errors and direct them to the output
> > with the following changes to above settings:
> > display_errors=0
> > log_errors=1
> >
> > The output would be nicer but when we go to test other sapis than CGI/CLI
> > this won't
> > work anymore.
>
> The tests can only be performed using the cgi/cli sapis since they require a
> command line PHP binary. So, this is a non-issue. If we must display error
> messages then I would prefer using display_errors=1 instead of log_errors=1.
log_errors might go everywhere... cli shows them to stderr by default
iirc., I'm all for display_errors=1 too.
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-