phpday 2027 - Call for Papers

DOMNode::isDefaultNamespace

(PHP 5, PHP 7, PHP 8)

DOMNode::isDefaultNamespace — Checks if the specified namespaceURI is the default namespace or not

Description

public function 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.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top