(PECL xmldiff >= 0.8.0)
XMLDiff\File::diff — Diff two XML files
$from
, string $to
): stringDiff two local XML files and produce string with the diff information.
from
Path to the source document.
to
Path to the target document.
String with the XML document containing the diff information or NULL.