Creating a Debug Log with the PHP Toolkit for IBM i
One of my favorite features of the PHP Toolkit for IBM i is its ability to generate a detailed debug log. The log includes connection information, program call options, parameters in and out, and performance timing. When we receive questions about the toolkit as part of our SmartSupport, a debug log helps resolve the question quickly.
Why use the PHP Toolkit? It can call commands, RPG, COBOL, and CL programs, flexibly and fast. The debug log can make troubleshooting easier than with other methods that don’t have a log, such as stored procedures.

You’re sure you fixed that last bug, but the app is still malfunctioning. You’re racking your brain for the cause. The more you know about programming, the more likely you are to over-think the problem.