(PHP 8 >= 8.4.0)
Dom\Attr represents an attribute in the Dom\Element object.
This is the modern, spec-compliant equivalent of DOMAttr.
public isId(): bool
public rename(?string $namespaceURI, string $qualifiedName): void
Note: Unlike the equivalent property in DOMAttr, this does not substitute entities.
null. true.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.dom-attr.php