XMLReader
PHP Manual

XMLReader::lookupNamespace

(PHP 5 >= 5.1.0, PHP 7)

XMLReader::lookupNamespaceLookup namespace for a prefix

Description

public string XMLReader::lookupNamespace ( string $prefix )

Lookup in scope namespace for a given prefix.

Parameters

prefix

String containing the prefix.

Return Values

Returns TRUE on success or FALSE on failure.


XMLReader
PHP Manual