The XMLDiff\File class
目录
- XMLDiff\File::diff — Diff two XML files
- XMLDiff\File::merge — Produce merged XML document

User Contributed Notes 1 note
ngbabu at gmail dot com ¶
6 years ago
The following snippet will show the use case of XMLDiff\File.
<?php
$dxml=new XMLDiff\File;
$diff = $dxml->diff("file1.xml", "file2.xml");
$difffile = 'difference.xml';
file_put_contents($difffile, $diff);
?>