? DOMChildNode::before
DOMChildNode::replaceWith ?
Bejson.com
PHP Manual
DOMChildNode
Removes the node
DOMChildNode::remove
(PHP 8)
DOMChildNode::remove
—
Removes the node
說明
public
DOMChildNode::remove
():
void
Removes the node.
參數(shù)
此函數(shù)沒有參數(shù)。
返回值
沒有返回值。
參見
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