XMLDiff\DOM
XMLDiff\DOM::merge
XMLDiff\DOM
PHP Manual

# XMLDiff\DOM::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::diff — Diff two DOMDocument objects

### Description

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

Diff two DOMDocument instances and produce the new one containing the diff information.

### Liste de paramètres

`from`

  Source DOMDocument object.

`to`

  Target DOMDocument object.

### Valeurs de retour

DOMDocument with the diff information or NULL.

XMLDiff\DOM
XMLDiff\DOM::merge
XMLDiff\DOM
PHP Manual