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