XMLReader::lookupNamespace
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Lookup namespace for a prefix
Description
XMLReader::lookupNamespace(string $prefix): string|null
Lookup in scope namespace for a given prefix.
Parameters
prefixString 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. |