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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnode.isdefaultnamespace.php