XMLReader::lookupNamespace
PHP Manual
PHP Manual»XMLReader»XMLReader::lookupNamespace

XMLReader::lookupNamespace

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

XMLReader::lookupNamespaceLookup namespace for a prefix

Descrizione

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

Lookup in scope namespace for a given prefix.

Elenco dei parametri

prefix

String containing the prefix.

Valori restituiti

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

Log delle modifiche

Versione Descrizione
8.0.0 This function can no longer return false.
To Top