DOMNode::isDefaultNamespace

(PHP 5, PHP 7, PHP 8)

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

Descrizione

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

Tells whether namespace is the default namespace.

Elenco dei parametri

namespace

The namespace URI to look for.

Valori restituiti

Return true if namespace is the default namespace, false otherwise.