Answer the question
In order to leave comments, you need to log in
How to implement incremental import from xml?
Good afternoon. How can I implement import from xml to php. There can be about 3000 objects in a file. At 300, the server with max_execution_time 0 settings starts to die. I load simplexml_load_file, then json_encode, and then json_decode. How to split into parts to do until I figure it out.
Answer the question
In order to leave comments, you need to log in
Once I implemented reading xml, with a couple of million records. XmlReader to help you, it's a little more complicated than simplexml :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question