ConFoo 2025

XMLDiff\DOM::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::mergeProduce merged DOMDocument

Description

public XMLDiff\DOM::merge(DOMDocument $src, DOMDocument $diff): DOMDocument

Create new DOMDocument based on the diff.

Parameters

src

Source DOMDocument object.

diff

DOMDocument object containing the diff information.

Return Values

Merged DOMDocument or NULL.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top