PHP - Manual: DOMNode::isDefaultNamespace
2024-11-15
(PHP 5, PHP 7, PHP 8)
DOMNode::isDefaultNamespace — Checks if the specified namespaceURI is the default namespace or not
$namespace
): bool
Tells whether namespace
is the default namespace.
namespace
The namespace URI to look for.
Return true
if namespace
is the default
namespace, false
otherwise.
官方地址:https://www.php.net/manual/en/domnode.isdefaultnamespace.php