DOMXPath::__construct

(PHP 5, PHP 7, PHP 8)

DOMXPath::__construct 新しい DOMXPath オブジェクトを作成する

説明

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

新しい DOMXPath オブジェクトを作成します。

パラメータ

document

DOMXPath に関連付けられた DOMDocument