PHP 8.3.4 Released!

DOMNode::isSupported

(PHP 5, PHP 7, PHP 8)

DOMNode::isSupported 指定したバージョンで機能がサポートされているかどうかを調べる

説明

public DOMNode::isSupported(string $feature, string $version): bool

指定したバージョン version で、機能 feature がサポートされているかどうかを調べます。

パラメータ

feature

調べる機能。機能の一覧については DOMImplementation::hasFeature() の例を参照ください。

version

調べる機能 feature のバージョン番号。

戻り値

成功した場合に true を、失敗した場合に false を返します。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top