XMLDiff\DOM::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::diffDiff two DOMDocument objects

説明

public XMLDiff\DOM::diff(DOMDocument $from, DOMDocument $to): DOMDocument

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.

関連キーワード:  DOMDocument, Diff, objects, XMLDiff, from, information, merge, xmldiff, public, instances