PHP Manual Function Reference XML Manipulation XMLDiff XMLDiff\Memory XMLDiff\DOM::merge XMLDiff\Memory::diff The XMLDiff\Memory class (PECL xmldiff >= 0.8.0) Introduction Class synopsis XMLDiff\Memory extends XMLDiff\Base { /* Methods */ public string diff ( string $from , string $to ) public string merge ( string $src , string $diff ) /* Inherited methods */ public XMLDiff\Base::__construct ( string $nsname ) abstract public mixed XMLDiff\Base::diff ( mixed $from , mixed $to ) abstract public mixed XMLDiff\Base::merge ( mixed $src , mixed $diff ) } Table of ContentsXMLDiff\Memory::diff — Diff two XML documentsXMLDiff\Memory::merge — Produce merged XML document