PHP 8.3.0 RC 6 available for testing

XMLDiff\Base::diff

(PECL xmldiff >= 0.8.0)

XMLDiff\Base::diffProduce diff of two XML documents

说明

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

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top