Archive for debugging
Logging Php to Firebug
April 8th, 2010 • browser, debugging, snippet
Ever wanted to log php to firebug? There are a lot of reasons to do this. E.g. working on apps for a thrd party plattform like myspace.
The logger is a singleton. you can push any date type in it. the coolest part: it encodes the php class as json object.

i wrapped it in a simple dummy project with some “oop” javascript in it. give it a try and tell me what you think.
and yes, i know firephp ;)