PHP - Manual: XMLDiff\File::diff
2025-10-24
(PECL xmldiff >= 0.8.0)
XMLDiff\File::diff — Diff two XML files
Diff two local XML files and produce string with the diff information.
fromPath to the source document.
toPath to the target document.
String with the XML document containing the diff information or NULL.