(PHP 5, PHP 7, PHP 8)
DOMElement::removeAttributeNode — Remove atributo
Remove o atributo attr do elemento.
attrO nó do atributo.
DOM_NO_MODIFICATION_ALLOWED_ERRGerado se o nó for somente leitura.
DOM_NOT_FOUND_ERR
Gerado se attr não for um atributo do elemento.