(PHP 5, PHP 7)
DOMElement::removeAttribute — Removes attribute
$name
)
Removes attribute named name
from the element.
name
The name of the attribute.
Returns TRUE
on success or FALSE
on failure.
DOM_NO_MODIFICATION_ALLOWED_ERR
Raised if the node is readonly.