Summary
PHP’s XML extensions, especially those that ship with newer versions of the language, are more than sufficient for most development tasks. However, if your PHP build doesn’t support a particular XML extension, and you’re not in a position to recompile a new build, your development efforts can get rapidly derailed. Further, many of PHP’s built-in extensions are still experimental and in a state of flux. In such a situation, an external class that is more stable (and perhaps also easier to use) is often a viable option.
A number of open source XML/PHP projects are available to work around the problem. Implemented as PHP classes that can easily be included in your application, they allow you, the developer, to reproduce the functionality ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access