DOMNode::isDefaultNamespace
(PHP 5, PHP 7, PHP 8)
DOMNode::isDefaultNamespace — Checks if the specified namespaceURI is the default namespace or not
Description
$namespace
): bool
Tells whether namespace
is the default namespace.
Parameters
-
namespace
-
The namespace URI to look for.
Return Values
Return true
if namespace
is the default
namespace, false
otherwise.