Comments By: pcarini
-
I apologize, I didn't expect the text to be removed entirely.. in the above dump_pre function, those are html pre tags in the quotes.posted on Aug 30, 2007 at 6:31pm | context
-
In re: "4. Magic function __toString() doesn't work as expected" I've always used print_r instead of __toString, it's always been enough to see what's going on. For debug (into html), this one-liner makes my life easier: function dump_pre($mixed) { echo "" . print_r($mixed, true) . ""; }posted on Aug 30, 2007 at 6:30pm | context