# XMLDiff\Memory::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Memory::diff — Diff two XML documents

### Beschreibung

public XMLDiff\Memory::diff(string `$from`, string `$to`): string

Diff two strings containing XML documents and produce the diff information.

### Parameter-Liste

`from`

  Source XML document.

`to`

  Target XML document.

### Rückgabewerte

String with the XML document containing the diff information or NULL.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open