P
P
Pogran2017-03-19 11:26:46
PHP
Pogran, 2017-03-19 11:26:46

How to parse big xml in php?

I'm picking up the chml with the goods. Hml reaches up to 400mb. In order to parse, I use simplexml_load_file , but the problem is that the site simply crashes on large files. Small files of 10mb in size are quickly parsed. How can I quickly parse a large xml?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2017-03-19
@Stalker_RED

Can be read by stream php.net/manual/ru/book.xmlreader.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question