↧
Answer by Murad Hasan for XML To array in php
Online Example: https://3v4l.org/KcJMX, You can optimize your primary array, Just learn from function.xml-parse-into-struct.php, I hope you will do it.Use xml_parser_create and xml_parse_into_struct to...
View ArticleAnswer by Sofiene Djebali for XML To array in php
You can achieve this using the simplexml_load_string() functionPHP$xml = simplexml_load_string('MY_XML_CONTENT', "SimpleXMLElement", LIBXML_NOCDATA);$json = json_encode($xml);$array =...
View ArticleXML To array in php
i have to got response in XML . and i want to convert xml data to array using php. my XML record.<soap:Body><CreateContact...
View Article