XMLDiff\Memory::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\Memory::mergeProduce merged XML document

说明

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

Create new XML document based on diffs and source document.

参数

src

Source XML document.

diff

XML document containing diff information.

返回值

String with the new XML document or NULL.