<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On 05 Jul 2007, at 10:34 PM, Rob Barreca wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Nice! Say hello to SimpleXML. :-)</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>I have to say, one of my favorite parts of simplexml, is the array / object duality.</DIV><DIV>Attributes are accessed via =&gt; , and children are accessed via []. This would have been awesome for fapi, if you could actually use it as a</DIV><DIV>language feature. (I think they probably implement it via magic callbacks, and that only handles the calling, not the definitions.)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>However, it's impossible to serialize (cache, or conversely store in the session) simplexml objects, so you always have the xml parsing overhead.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The other interesting thing we could look at is exceptions. Error handling in PHP has _long_ been one of my sore points with the language.</DIV></BODY></HTML>