Dutch PHP Conference 2025 - Call For Papers

XMLReader::lookupNamespace

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

XMLReader::lookupNamespaceLookup namespace for a prefix

Опис

public XMLReader::lookupNamespace(string $prefix): ?string

Lookup in scope namespace for a given prefix.

Параметри

prefix

String containing the prefix.

Значення, що повертаються

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

Журнал змін

Версія Опис
8.0.0 This function can no longer return false.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top