DOMNode::lookupPrefix
(PHP 5, PHP 7, PHP 8)
DOMNode::lookupPrefix — Gets the namespace prefix of the node based on the namespace URI
Description
Gets the namespace prefix of the node based on the namespace URI.
Parameters
namespace
The namespace URI.
Return Values
The prefix of the namespace or null on error.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
