Dom\ParentNode::replaceChildrenReplace children in node Description
public void Dom\ParentNode::replaceChildren(Dom\Nodestring
...$nodes )Replace children in node. Parameters
Return ValuesNo value is returned. Errors/Exceptions
ExamplesExample #1 Dom\ParentNode::replaceChildren example
The above example will output: <!DOCTYPE html><html>foo<p></p>bar</html> |