Home Convert XML File to Array With PHP

    Convert XML File to Array With PHP

    0

    I was once an advocate for XML data because of its readability. However, that comes with an overhead, and its more difficult to deal with programmatically. If you have an XML file, the following function will convert it into a PHP array. It won’t support all nested attributes – that function is forthcoming.

    Usage is easy:

    Shortt URL for this post: http://shor.tt/1Y1k