Refine and debug PHP applications with syslog

PHP version of venerable UNIX syslog offers a simple, effective debugging tool

From the developerWorks archives

William B. Zimmerly

Date archived: May 14, 2019 | First published: October 16, 2007

An old technique for exploring a running program is to place code that "displays" the current value of variables at strategic points. But how is this done without interfering with the standard output of the program? With PHP's syslog() facility, examining these values is easy. Find out how.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.

Zone=Open source
ArticleTitle=Refine and debug PHP applications with syslog