Monthly Archives: June 2013

Convert XML to Array using PHP

<?php
 
var_dump(json_decode(json_encode((array) simplexml_load_string($xml)), 1));
Page 1 of 11