XMLReader::lookupNamespace
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::lookupNamespace — Lookup namespace for a prefix
说明
public XMLReader::lookupNamespace(string
$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 .
|
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/xmlreader.lookupnamespace.php