Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
XMLDiff
Installing/Configuring
XMLDiff\Base
XMLDiff\DOM
XMLDiff\Memory
XMLDiff\File
XMLDiff\Exception
XMLDiff\Memory::merge
XMLDiff\File::diff
XMLDiff
Last updated: Mon, 26 Oct 2026
The XMLDiff\File class
(PECL xmldiff >= 0.8.0)
Introduction
Class synopsis
class
XMLDiff\File
extends
XMLDiff\Base
{
/* Methods */
public
function
diff
(
string
$from
,
string
$to
):
string
public
function
merge
(
string
$src
,
string
$diff
):
string
/* Inherited methods */
abstract
public
function
XMLDiff\Base::diff
(
mixed
$from
,
mixed
$to
):
mixed
abstract
public
function
XMLDiff\Base::merge
(
mixed
$src
,
mixed
$diff
):
mixed
}
Table of Contents
XMLDiff\File::diff
— Diff two XML files
XMLDiff\File::merge
— Produce merged XML document
XMLDiff\Memory::merge
XMLDiff\File::diff
XMLDiff
Last updated: Mon, 26 Oct 2026