xml2array xml2array() is a easy to use PHP function that will convert the given XML text to an array in the XML structure. Original code: http://www.bin-co.com/php/scripts/xml2array/