looking for a compiler that will give me better insight into errors
program for finding PHP errors
will1480
1:00 am on May 9, 2004 (gmt 0)
I use NS7 for finding javascript errors. Is there anything out there similar for PHP?
jatar_k
5:13 pm on May 10, 2004 (gmt 0)
you could set your error_reporting [ca.php.net] to E_ALL and that will give more notices etc..
I wouldn't use that for production though, only dev servers.
Essentially any syntax errors are displayed in the browser with a reason and a line number so it is pretty easy to find.
will1480
7:47 pm on May 10, 2004 (gmt 0)
yeah, ive heard that command before now that I think of it. Do i just insert E_ALL; on the first line of my php scripts? Thanks for the input.
jatar_k
11:24 pm on May 10, 2004 (gmt 0)
it can be set in a script using the function
it can also be set in php.ini
ergophobe
4:31 pm on May 11, 2004 (gmt 0)
I have xDebug on my development system. It gives you a stack trace on execution error (not parse error) which helps a *little* bit (at least you know how many times a function was called before failure).
There is an interactive mode as well, but I haven't actually used it.