php8.5
Home/ Manual/ xmldiff / xmldiff-base/ XMLDiff\Base::merge

XMLDiff\Base::merge

PHP function Edit on GitHub ✎

(PECL xmldiff >= 0.8.0)

Produce new XML document based on diff

Description

XMLDiff\Base::merge(mixed $src, mixed $diff): mixed

Abstract merge method to be implemented by inheriting classes.

Basically the method purpose is to produce a new XML document based on the diff information.

Parameters

src

Source XML document.

diff

Document produced by the diff method.

Return Values

Implementation dependent.

Source: reference/xmldiff/xmldiff-base/merge.xml · from the official PHP manual (php/doc-en)