(PECL xmldiff >= 0.8.0)
XMLDiff\Base::diff — Produce diff of two XML documens
Abstract diff method to be implemented by inheriting classes.
The basic purpose of this method is to produce diff of the two documens. The param order matters and will produce different output.
from
Source XML document.
to
Targuet XML document.
Implementation dependent.