XMLDiff\DOM::diff
PHP Manual
PHP Manual»XMLDiff\DOM»XMLDiff\DOM::diff

XMLDiff\DOM::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::diffDiff two DOMDocument objects

Опис

public function 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.

To Top