中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
DOMChildNode::replaceWith »
« DOMChildNode::before
PHP 手册
函数参考
XML 操作
DOM
DOMChildNode
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