XMLDiff\DOM::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::mergeProduce merged DOMDocument

说锟斤拷

public XMLDiff\DOM::merge ( DOMDocument $src , DOMDocument $diff ) : DOMDocument

Create new DOMDocument based on the diff.

锟斤拷锟斤拷

src

Source DOMDocument object.

diff

DOMDocument object containing the diff information.

锟斤拷锟斤拷值

Merged DOMDocument or NULL.