开发者

How to read gigantic xml file with PHP? [duplicate]

开发者 https://www.devze.com 2023-03-19 03:57 出处:网络
This question already has answers here: Closed 11 years 开发者_Python百科ago. Possible Duplicate: Parsing Huge XML Files in PHP
This question already has answers here: Closed 11 years 开发者_Python百科ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号