For those who are looking for easy way to convert xml data to Array in PHP we have very simple solution in 3 rows:
function xml2Array($xml_string){
$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
return json_decode($json,TRUE);
}