略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: XMLReader::lookupNamespace

2025-02-27

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.
添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/xmlreader.lookupnamespace.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3