XMLDiff\Base
PHP Manual

XMLDiff\Base::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Base::diffProduce diff of two XML documents

説明

abstract public mixed XMLDiff\Base::diff ( mixed $from , mixed $to )

Abstract diff method to be implemented by inheriting classes.

The basic purpose of this method is to produce diff of the two documents. The param order matters and will produce different output.

パラメータ

from

Source XML document.

to

Target XML document.

返り値

Implementation dependent.


XMLDiff\Base
PHP Manual