(PHP 5, PHP 7, PHP 8)
DOMElement::removeAttribute — Removes attribute
Removes attribute named qualifiedName from the element.
qualifiedNameThe name of the attribute.
May throw a DOMException with the following error codes:
DOM_NO_MODIFICATION_ALLOWED_ERRRaised if the node is readonly.