©
Dokumen ini menggunakan Manual laman web PHP Cina Lepaskan
(PECL xmldiff >= 0.8.0)
$from
, string $to
)$src
, string $diff
)$nsname
)$from
, mixed $to
)$src
, mixed $diff
)[#1] ngbabu at gmail dot com [2015-11-21 08:45:04]
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);
?>