DOMNode::isDefaultNamespace()
(PHP 5, PHP 7)
Checks if the specified namespaceURI is the default namespace or not
说明
public DOMNode::isDefaultNamespace(string $namespaceURI): bool
Tells whether$namespaceURIis the default namespace.
参数
- $namespaceURI
The namespace URI to look for.
返回值
Return TRUE
if$namespaceURIis the default namespace,FALSE
otherwise.