DOMXPath::__construct

(PHP 5, PHP 7, PHP 8)

DOMXPath::__construct Создаёт новый объект класса DOMXPath

Описание

public DOMXPath::__construct(DOMDocument $document, bool $registerNodeNS = true)

Создаёт новый объект класса DOMXPath.

Список параметров

document

Объект класса DOMDocument, связанный с DOMXPath.