array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'domnode.isdefaultnamespace.php', 1 => 'DOMNode::isDefaultNamespace', 2 => 'Checks if the specified namespaceURI is the default namespace or not', ), 'up' => array ( 0 => 'class.domnode.php', 1 => 'DOMNode', ), 'prev' => array ( 0 => 'domnode.insertbefore.php', 1 => 'DOMNode::insertBefore', ), 'next' => array ( 0 => 'domnode.isequalnode.php', 1 => 'DOMNode::isEqualNode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domnode/isdefaultnamespace.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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.