« XMLDiff\DOM::merge XMLDiff\Memory::diff » PHP Manual XMLDiff The XMLDiff\Memory class The XMLDiff\Memory class (PECL xmldiff >= 0.8.0) 简介 类摘要 XMLDiff\Memory extends XMLDiff\Base { /* 方法 */ public diff ( string $from , string $to ) : string public merge ( string $src , string $diff ) : string /* 继承的方法 */ public XMLDiff\Base::__construct ( string $nsname ) abstract public XMLDiff\Base::diff ( mixed $from , mixed $to ) : mixed abstract public XMLDiff\Base::merge ( mixed $src , mixed $diff ) : mixed } Table of Contents XMLDiff\Memory::diff — Diff two XML documents XMLDiff\Memory::merge — Produce merged XML document