|
Posted by Erwin Moller on 12/28/05 11:16
Michael wrote:
> Erwin,
>
> Thank you for taking the time to respond with your clear and helpful
> response. Used ini_set, and it works fine. Much better than looking at
> the error log.
Good. :-)
>
> By the way, do you happen to know if there are any useful PHP
> IDE/Debuggers out there? ... the type of environment where you can
> single step, set breakpoints, inspect variables, etc.?
>
Yes, just google for them.
I have no advise because I never needed them. As in Never.
And I make my living as PHP developer. :-)
Two things that are extremely helpfull when debugging/coding:
1) Errorreporting on (for all errors and notices and warnings)
That one you have up and running already. :-)
2) Just output your variables to the html.
An extremely usefull function for this is print_r($somevariable)
If you have arrays, no matter how complex, the follwing example will format
them for you:
from html:
<pre>
<? print_r($myComplexArray); ?>
</pre>
If you want to print an object, you can also use print_r().
Really, I never needed a debugger, and I know many others over here do not
use one.
I am not saying they are bad or anything, just that most developers don't
need one (for PHP that is).
Regards,
Erwin Moller
> Thanks again,
> M. McDonnell
Navigation:
[Reply to this message]
|