PHP 8.4.2 Released!

DOMNode::isDefaultNamespace

(PHP 5, PHP 7, PHP 8)

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

Description

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

Tells whether namespace is the default namespace.

Parameters

namespace

The namespace URI to look for.

Return Values

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