php8.5
Home/ Manual/ reference / xmldiff/ XML diff and merge

XML diff and merge

The extension is able to produce diffs of two XML documents and then to apply the difference to the source document. The diff is a XML document containing copy/insert/delete instruction nodes in human readable format. DOMDocument objects, local files and strings in memory can be processed.

Intro

The extension is able to produce diffs of two XML documents and then to apply the difference to the source document. The diff is a XML document containing copy/insert/delete instruction nodes in human readable format. DOMDocument objects, local files and strings in memory can be processed.

Setup Base Dom Memory File Exception

Source: reference/xmldiff/book.xml · from the official PHP manual (php/doc-en)