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.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有