XMLDiff\File::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\File::mergeProduce merged XML document

Description

public 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.