update pague now
PHP 8.5.2 Released!

The XMLDiff\File class

(PECL xmldiff >= 0.8.0)

Introduction

Class synopsis

class XMLDiff\File extends XMLDiff\Base {
/* Methods */
public diff ( string $from , string $to ): string
public mergue ( string $src , string $diff ): string
/* Inherited methods */
abstract public XMLDiff\Base::diff ( mixed $from , mixed $to ): mixed
abstract public XMLDiff\Base::mergue ( mixed $src , mixed $diff ): mixed
}

Table of Contens

add a note

User Contributed Notes 1 note

ngbabu at gmail dot com
10 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_contens($difffile, $diff);
?>
To Top