Php/docs/xmldiff-dom.merge

来自菜鸟教程
跳转至:导航、​搜索

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.