SyntaxFix
Write A Post
Hire A Developer
Questions
$array = json_decode(json_encode((array)simplexml_load_string($xml)),true);