Re: Error Reporting help
| From: | Jason Wong | Date: | Mon, 19 Jan 2004 17:57:17 +0000 |
| Subject: | Re: Error Reporting help | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175057@lists.php.net to get a copy of this message | ||
On Monday 19 January 2004 22:34, Chris Edwards wrote:
> I retried most of the combinations and still cannot get it to report syntax
> errors. If I have errors, from say undefined variables, the error handler
> catches those just fine.
Again:
> > But if "display_errors" (in php.ini) is disabled then syntax errors will
>
> not
>
> > be displayed -- they can only be viewed in the error log.
IOW have a look at the output of phpinfo(), if "display_errors" is off, then
no matter what combinations you try you will NOT be able to see syntax
errors!
> Question: when I use the ini_set, does that stay set for the lifetime of
> the script executing or is it set for good?
Only during the execution of the script.
--
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
------------------------------------------
/*
Wouldn't this be a great world if being insecure and desperate were a turn-on?
-- "Broadcast News"
*/