PHP - Manual: XMLReader::lookupNamespace
2024-11-15
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::lookupNamespace — Lookup namespace for a prefix
$prefix
): ?stringLookup 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 .
|
官方地址:https://www.php.net/manual/en/xmlreader.lookupnamespace.php