How to convert xml into array in php?

Posted by Editorial Staff | Updated on

Another option is the SimpleXML extension (I believe it comes standard with most php installs.)

The syntax looks something like this for your example

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers