XMLReader::lookupNamespace

Lookup namespace for a prefix

Description

public stringnull XMLReader::lookupNamespace(string $prefix)

Lookup in scope namespace for a given prefix.

Parameters

prefix

String containing the prefix.

Return Values

The value of the namespace, or null if no namespace exists.

Changelog

Version Description
8.0.0 This function can no longer return false.