Post thumbnail of Toggling debug output within a PHP class
6 August 2009
Continue reading Toggling debug output within a PHP class

Toggling debug output within a PHP class

I don’t care what anyone says, I like lots of debug output available in my programs. It helps me crank out code faster with less errors. You can keep a private member called debug and just flip it on and off when you want to see the output. It’s a lot cleaner than interjecting prints and echos all over the place.

Powered by Wordpress   |   Lunated designed by ZenVerse