php8.5
Home/ Manual/ xmldiff / xmldiff-file/ XMLDiff\File::merge

XMLDiff\File::merge

PHP function Edit on GitHub ✎

(PECL xmldiff >= 0.8.0)

Produce merged XML document

Description

XMLDiff\File::merge(string $src, string $diff): string

Create new XML document based on diffs and source document.

Parameters

src

Path to the source XML document.

diff

Path to the XML document with the diff information.

Return Values

String with the new XML document or NULL.

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