DOMNode::isDefaultNamespace

(PHP 5, PHP 7, PHP 8)

DOMNode::isDefaultNamespaceChecks 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.