XMLReader::lookupNamespace

(PHP 5 >= 5.1.0, PHP 7)

XMLReader::lookupNamespaceLookup namespace for a prefix

Descrição

public XMLReader::lookupNamespace ( string $prefix ) : string|null

Lookup in scope namespace for a given prefix.

Parâmetros

prefix

String containing the prefix.

Valor Retornado

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

Changelog

Versão Descrição
8.0.0 This function can no longer return false.