Refine and debug PHP applications with syslog

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

From the developerWorks archives

William Zimmerly

Date archived: January 4, 2017 | 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 steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=260778
ArticleTitle=Refine and debug PHP applications with syslog
publish-date=10162007