©
本文檔使用 php中文網手册 發布
(PECL xmldiff >= 0.8.0)
XMLDiff\DOM::diff — Diff two DOMDocument objects
$from
, DOMDocument $to
)Diff two DOMDocument instances and produce the new one containing the diff information.
from
Source DOMDocument object.
to
Target DOMDocument object.
DOMDocument with the diff information or NULL.