tibberous Posted July 23, 2008 Share Posted July 23, 2008 Why doesn't PHP have a good way to parse XML? I keep hoping that they'll get it to support something like E4X =/ Is there a fundamental reason why PHP can't have it? AS3 does. You can do stuff like... $book->author[0]->name. Link to comment https://forums.phpfreaks.com/topic/116278-xml-sucks-in-php/ Share on other sites More sharing options...
Daniel0 Posted July 23, 2008 Share Posted July 23, 2008 Is there a fundamental reason why PHP can't have [E4X]? AS3 does. Yes, it's because PHP is not an ECMAScript language so naturally it does not support ECMAScript for XML... What exactly do you want? Link to comment https://forums.phpfreaks.com/topic/116278-xml-sucks-in-php/#findComment-597912 Share on other sites More sharing options...
effigy Posted July 23, 2008 Share Posted July 23, 2008 http://us2.php.net/manual/en/simplexml.examples.php Link to comment https://forums.phpfreaks.com/topic/116278-xml-sucks-in-php/#findComment-597913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.