DOMChildNode::remove
(PHP 8)
DOMChildNode::remove — Removes the node
說明
public DOMChildNode::remove(): void
Removes the node.
參數
此函式沒有參數。
返回值
沒有返回值。
參見
- DOMChildNode::after() - Adds nodes after the node
- DOMChildNode::before() - Adds nodes before the node
- DOMChildNode::replaceWith() - Replaces the node with new nodes
- DOMNode::removeChild() - Removes child from list of children