DOMNode::isDefaultNamespace

(PHP 5, PHP 7)

DOMNode::isDefaultNamespaceChecks if the specified namespaceURI is the default namespace or not

Description

public DOMNode::isDefaultNamespace ( string $namespaceURI ) : bool

Tells whether namespaceURI is the default namespace.

Parameters

namespaceURI

The namespace URI to look for.

Return Values

Return TRUE if namespaceURI is the default namespace, FALSE otherwise.