Re: SimpleXML and Default Cast To String

From: Date: Mon, 12 Jan 2004 23:07:24 +0000
Subject: Re: SimpleXML and Default Cast To String
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-7026@lists.php.net to get a copy of this message
> 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

« previous php.internals (#7026) next »