(PHP 5, PHP 7)
DOMElement::removeAttribute — Removes attribute
$name
) : bool
Removes attribute named name from the element.
nameThe name of the attribute.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
DOM_NO_MODIFICATION_ALLOWED_ERRRaised if the node is readonly.