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