Answers for "php save xml to file"

PHP
0

convert xml file to array php

$xmlfile = file_get_contents($path);
		$ob= simplexml_load_string($xmlfile);
		$json  = json_encode($ob);
		$configData = json_decode($json, true);
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language