PHP - Manual: Dom\NamespaceInfo
2025-02-27
(PHP 8 >= 8.4.0)
This represents immutable information about namespaces of an element. This decouples namespaces from attributes, which was incorrectly intertwined for the old DOM classes.
官方地址:https://www.php.net/manual/en/class.dom-namespaceinfo.php