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" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php