XMLDiff\DOM::diff » « XMLDiff\Base::merge PHP 手册 函数参考 XML 操作 XMLDiff The XMLDiff\DOM class (PECL xmldiff >= 0.8.0) 简介 类摘要 class XMLDiff\DOM extends XMLDiff\Base { /* 方法 */ public diff(DOMDocument $from, DOMDocument $to): DOMDocument public merge(DOMDocument $src, DOMDocument $diff): DOMDocument /* 继承的方法 */ abstract public XMLDiff\Base::diff(mixed $from, mixed $to): mixed abstract public XMLDiff\Base::merge(mixed $src, mixed $diff): mixed } 目录XMLDiff\DOM::diff — Diff two DOMDocument objectsXMLDiff\DOM::merge — Produce merged DOMDocument add a note User Contributed Notes There are no user contributed notes for this page. 备份地址:http://www.lvesu.com/blog/php/class.xmldiff-dom.php