FoxyForest
03-22-2007, 07:12 PM
Is there any restrictions on the size of $data passed to xml_parse()? All the tutorials I see parse an XML file by making repeated calls with the next 4096 bytes each time. Is this just convention, or is there a reason for it?
I'd much rather just dump the entire file in one call to xml_parse using file_get_contents. Much simpler.
I'd much rather just dump the entire file in one call to xml_parse using file_get_contents. Much simpler.