(PECL xmldiff >= 0.8.0)
XMLDiff\Memory::diff — Diff two XML documents
$from
, string $to
) : stringDiff two strings containing XML documents and produce the diff information.
fromSource XML document.
toTarget XML document.
String with the XML document containing the diff information or NULL.