Diff two XML files

# XMLDiff\File::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\File::diff — Diff two XML files

### 说明

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

Diff two local XML files and produce string with the diff information.

### 参数

`from`

  Path to the source document.

`to`

  Path to the target document.

### 返回值

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

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