Answer the question
In order to leave comments, you need to log in
Which is better: a native parser or packages from Github in PHP?
You need to parse HTML. Which is better - to use native DOMDocument, etc., or packages from Github like dom-crawler or didom?
Answer the question
In order to leave comments, you need to log in
If speed is important, then regular expressions. If you don’t give a fuck about it, then from the github, because I don’t know how it is now, but before DOMDocument only supported xpath, and in different dom-crawlers you can use the syntax a la jquery to select elements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question