Last Updated: February 25, 2016
·
741
· gilbitron

PHP Quick Convert XML to Array

$array = json_decode(json_encode((array)simplexml_load_string($xml)),1);