# The XMLDiff\Memory class

(PECL xmldiff >= 0.8.0)

## 简介

## 类摘要

class XMLDiff\Memory extends XMLDiff\Base {
/* 方法 */
public function diff(string `$from`, string `$to`): string
public function merge(string `$src`, string `$diff`): string
/* 继承的方法 */
abstract public function XMLDiff\Base::diff(mixed `$from`, mixed `$to`): mixed
abstract public function XMLDiff\Base::merge(mixed `$src`, mixed `$diff`): mixed
}

## 目录

- XMLDiff\Memory::diff — Diff two XML documents
- XMLDiff\Memory::merge — Produce merged XML document

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