Re: Error capturing
| From: | Jason Wong | Date: | Wed, 04 Jun 2003 18:16:04 +0000 |
| Subject: | Re: Error capturing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150228@lists.php.net to get a copy of this message | ||
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 info returned from an exec() call to a CLI PHP to 'run' your file to
determine whether there are any parse-errors.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Timing must be perfect now. Two-timing must be better than perfect.
*/