XMLDiff\DOM
PHP Manual

XMLDiff\DOM::merge

(PECL xmldiff >= 0.8.0)

XMLDiff\DOM::mergeProduce merged DOMDocument

Description

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

Create new DOMDocument based on the diff.

Liste de paramètres

src

Source DOMDocument object.

diff

DOMDocument object containing the diff information.

Valeurs de retour

Merged DOMDocument or NULL.


XMLDiff\DOM
PHP Manual