convert

20 minutes read
XML2Array is a class to convert XML file content to an associative array in PHP. It returns an array which can be used for data insertion into database. Its simply take string xml content as input and return array. Its very user when we are handling with xml files getting from SOAP and curl request. <?xml version="1.0" encoding="UTF-8"?> <Class> <Student> <Name>Ashish</title> <Sex>Male</Sex> <Age>...