php8.5
Home/ Manual/ dom / domnode/ DOMNode::isSupported

DOMNode::isSupported

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Checks if feature is supported for specified version

Description

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

Checks if the asked feature is supported for the specified version.

Parameters

feature

The feature to test. See the example of DOMImplementation::hasFeature for a list of features.

version

The version number of the feature to test.

Return Values

Success

See Also

  • DOMImplementation::hasFeature

Source: reference/dom/domnode/issupported.xml · from the official PHP manual (php/doc-en)