On Wednesday 04 June 2003 18:16, Svein Larsen wrote:
Anybody got a good solution for capturing errors in php scripts?
I can catch the errors by logging them to a log file (log_errors in
php.ini) My problem is that i'm running a lot of sites on my server and i
need to know wich site generate
Yes, set_error_handler work for soft errors.
But parse-errors doesnt get catched by the errorhandler.
- Sveni
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 19:43
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Error capturing
On Thursday 05 June 2003 02:00, Svein Larsen wrote:
Yes, set_error_handler work for soft errors.
But parse-errors doesnt get catched by the errorhandler.
But surely you check that your pages actually parse before deploying them?
*boggles*
--
Jason Wong - Gremlins Associates -
]
Subject: Re: [PHP] Error capturing
On Thursday 05 June 2003 02:00, Svein Larsen wrote:
Yes, set_error_handler work for soft errors.
But parse-errors doesnt get catched by the errorhandler.
But surely you check that your pages actually parse before
deploying them?
*boggles
On Thursday 05 June 2003 02:08, Svein Larsen wrote:
Of course - but sometimes includes and other happenings make parse
error.
Even eval'ed code can cause parse error even if the page parse fine
initially.
AFAIK there's nothing that will catch parse-errors at runtime. Maybe you can
use the
5 matches
Mail list logo