I\'d like to debug some PHP code, but I guess printing a log to screen or file is fine for me.
How should I print a log in PHP code?
The u
If you don't want to integrate a framework like Zend, then you can use the trigger_error method to log to the php error log.