Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<XMLDiff\DOM::mergeXMLDiff\Memory::diff>
^XMLDiffLast updated: Mon, 26 Oct 2026

The XMLDiff\Memory class

(PECL xmldiff >= 0.8.0)

Introduction

Class synopsis

class XMLDiff\Memory extends XMLDiff\Base {
/* Methods */
public function diff(string $from, string $to): string
public function merge(string $src, string $diff): string
/* Inherited methods */
abstract public function XMLDiff\Base::diff(mixed $from, mixed $to): mixed
abstract public function XMLDiff\Base::merge(mixed $src, mixed $diff): mixed
}

Table of Contents


<XMLDiff\DOM::mergeXMLDiff\Memory::diff>
^XMLDiffLast updated: Mon, 26 Oct 2026