XMLDiff\Memory::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\Memory::mergeProduce merged XML document

说锟斤拷

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

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.