« 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.
参数
此函数没有参数。
返回值
没有返回值。
参见
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