Comments By: Nick Ohrn
-
I found #4 to be quite interesting, and very perplexing. That really doesn't make any sense at all! In response to pearini, two comments above, I would really use __toString for debugging purposes so much. Especially if I was dealing with elements that could be viewed in a browser, you could use __toString to do a simple echo of the object and have it show up the way you want. For example, a box object's __toString method could echo out some divs and content inside them. :)posted on Aug 30, 2007 at 11:01pm | context
