The XMLDiffDOM class « XMLDiff\Base::merge XMLDiff\DOM::diff » PHP Manual XMLDiff The XMLDiff\DOM class 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