XMLDiff\File
PHP Manual

XMLDiff\File::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\File::mergeProduce merged XML document

说明

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

Create new XML document based on diffs and source document.

参数

src

Path to the source XML document.

diff

Path to the XML document with the diff information.

返回值

String with the new XML document or NULL.


XMLDiff\File
PHP Manual