XMLDiff\DOM::diff
(PECL xmldiff >= 0.8.0)
XMLDiff\DOM::diff — Diff two DOMDocument objects
说明
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.