DOMNode::isDefaultNamespace
(PHP 5, PHP 7, PHP 8)
DOMNode::isDefaultNamespace — Checks if the specified namespaceURI is the default namespace or not
說明
public DOMNode::isDefaultNamespace(string
$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.