How to read gigantic xml file with PHP? [duplicate]
Possible Duplicate:
Parsing Huge XML Files in PHP
I want to read wikipedia's xml dump files with PHP. They are gigantic. What should I do?
A SAX-based parser should handle large files fine, as opposed to a tree-based parser.
Here, someone has rolled their own.
精彩评论