XMLDiff\Base::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\Base::mergeProduce new XML document based on diff

说锟斤拷

abstract public XMLDiff\Base::merge ( mixed $src , mixed $diff ) : mixed

Abstract merge method to be implemented by inheriting classes.

Basically the method purpose is to produce a new XML document based on the diff information.

锟斤拷锟斤拷

src

Source XML document.

diff

Document produced by the diff method.

锟斤拷锟斤拷值

Implementation dependent.