3 Aug
2007
3 Aug
'07
5:40 p.m.
On 03 Aug 2007, at 4:58 PM, Larry Garfield wrote:
That said, a syntax that somewhat parallels SimpleXML and leverages ArrayObject, iterators, and the rest of SPL, but just doesn't translate directly to XML the way SimpleXML does, could make FAPI a lot cleaner and more intuitive.
Well. I found the issue I have with simplexml, namely that you can't serialize the object. Basically what it comes down to is we need to implement the __sleep() and __wakeup() functions to properly handle serializing anything. There's also a couple of other gotcha's, but I'm confident they can be worked around.