Php/docs/xmldiff-memory.diff

提供:Dev Guides
< Php
移動先:案内検索

XMLDiff\Memory::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Memory::diffDiff two XML documents


説明

public XMLDiff\Memory::diff ( string $from , string $to ) : string

Diff two strings containing XML documents and produce the diff information.


パラメータ

from
Source XML document.
to
Target XML document.


返り値

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