PHP 8.3.0 RC 6 available for testing

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top