Scholar Repository
Home>Manual>Checks if feature is supported for specified version

Checks if feature is supported for specified version


DOMNode::isSupported

(PHP 5)

DOMNode::isSupportedChecks if feature is supported for specified version

Description

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

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

Returns TRUE on success or FALSE on failure.

See Also


Home>Manual>Checks if feature is supported for specified version