Richard Lynch wrote:
On Wed, July 11, 2007 4:40 pm, Tijnema wrote:
Except for the OO, I don't see anything that can't be done in PHP4,
while it can be done in PHP5. Some workarounds are maybe needed, but
it mostly doesn't require more than 10 lines of PHP code extra.
The SOAP / XML stuff is like night and day.
You're not talking 10 lines of code.
You're talking hundreds of lines of wack-o code that doesn't really do
the job right, and with some squeegy hacks to get at attributes buried
within the XML tags, if you can get to them at all...
That reminds me of one of my all-time fave bits in the online docs -
all the comments for xml_parse_into_struct():
http://ca.php.net/xml_parse_into_struct
Basically, *years* of people sharing various generic 'xml2array'-like
functions and classes that would work in both 4 and 5.
JG
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php