(PHP 8 >= 8.4.0)
Dom\Attr represents an attribute in the Dom\Element object.
This is the modern, spec-compliant equivalent of DOMAttr.
$namespaceURI
$qualifiedName
The namespace URI of the attribute.
The namespace prefix of the attribute.
The local name of the attribute.
The qualified name of the attribute.
The value of the attribute.
Note: Unlike the equivalent property in DOMAttr, this does not substitute entities.
Note:
Unlike the equivalent property in DOMAttr, this does not substitute entities.
The element that contains the attribute or null.
null
Legacy option, always is true.
true