I am trying to parse XML of size 140mb with simplexml_load_file()
like this
$sxe = simplexml_load_file("file.xml");
print_r($sxe);
it only return the object
SimpleXMLElement Object
(
[@attributes] => Array
(
[version] => 2.12
[vocab-version] => 2015-09-08-01
)
)
but the same code works on server. I have tried everything, increasing memory limit, uploaded size etc but didn't get any success. And the same code works for some small xml files.