Re: [PHP-XML-DEV] SimpleXML behaves like chameleon
[email protected] (Jirka Kosek) Mon, 31 Jan 2005 22:46:56 +0100
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
Christian Stocker wrote: > Simple answer, the usual array functions don't work on simplexml=20 > objects. Use the iterator interface. OK, I can uderstand to this. But it still unclear to me why some=20 properties of objects returned by SimpleXML are one time typed as array=20 and second time as an object. Maybe it is because SimpleXML tries to=20 make things simpler than they are ;) BTW: Do you have idea when PHP 5.1 will be out (even on RC level)? Many=20 XML things (like namespace bindings and XPath issues) should be fixed in = this release. Jirka --=20 ------------------------------------------------------------------ Jirka Kosek e-mail: [email protected] http://www.kosek.cz ------------------------------------------------------------------ Profesion=E1ln=ED =B9kolen=ED a poradenstv=ED v oblasti technologi=ED = XML. Pod=EDvejte se na n=E1=B9 nov=EC spu=B9t=ECn=FD web http://DocBook.= cz Podrobn=FD p=F8ehled =B9kolen=ED http://xmlguru.cz/skoleni/ ------------------------------------------------------------------