PHP - Manual: DOMNode::lookupPrefix
2024-11-20
(PHP 5, PHP 7, PHP 8)
DOMNode::lookupPrefix — Gets the namespace prefix of the node based on the namespace URI
$namespace
): ?stringGets the namespace prefix of the node based on the namespace URI.
namespace
The namespace URI.
The prefix of the namespace.