php8.5
Home/ Manual/ dom / domchildnode/ DOMChildNode::remove

DOMChildNode::remove

PHP function Edit on GitHub ✎

(PHP 8)

Removes the node

Description

DOMChildNode::remove(): void

Removes the node.

Parameters Parameters

Return Values

Void

See Also

  • DOMChildNode::after
  • DOMChildNode::before
  • DOMChildNode::replaceWith
  • DOMNode::removeChild

Source: reference/dom/domchildnode/remove.xml · from the official PHP manual (php/doc-en)