...more recent posts
When debugging in PHP I've always used the crude method of inserting echo statements all over the place to print out my variable values. I'm a bit embarrassed to say that I never thought to use syslog() for this purpose. Much more elegant.
These IBM developerworks articles are great.