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

XMLDiff\Base::__construct

PHP function Edit on GitHub ✎

(PECL xmldiff >= 0.8.0)

Constructor

Description

XMLDiff\Base::__construct(string $nsname)

Base constructor for all the worker classes in the xmldiff extension.

Parameters

nsname

Custom namespace name for the diff document. The default namespace is http://www.locus.cz/diffmark and that's enough to avoid namespace conflicts. Use this parameter if you want to change it for some reason.

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