> Sure. But I use php_error(E_WARNING) not exceptions. We can certainly > discuss how it is and isn't pure OO, and what that means. OO people are > still arguing that... In fact I read a paper on OO the other day that > said instantiable class should have no external methods (which is > bollocks). > > At the end of the day its what works best for the API. And in the case > of SimpleXML which has a rather messed up structure, something like a > array/balanced tree hybrid, most utility methods make better sense as
unbalanced. pah. -sterling -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php