DOMNode::isDefaultNamespace

(PHP 5, PHP 7)

DOMNode::isDefaultNamespaceChecks if the specified namespaceURI is the default namespace or not

说明

public DOMNode::isDefaultNamespace ( string $namespaceURI ) : bool

Tells whether namespaceURI is the default namespace.

参数

namespaceURI

The namespace URI to look for.

返回值

Return TRUE if namespaceURI is the default namespace, FALSE otherwise.

关注编程学问公众号