DOMNode::isDefaultNamespace
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Checks if the specified namespaceURI is the default namespace or not
Description
DOMNode::isDefaultNamespace(string $namespace): bool
Tells whether namespace is the default namespace.
Parameters
namespaceThe namespace URI to look for.
Return Values
Return true if namespace is the default namespace, false otherwise.