DOMParentNode::replaceChildrenReplace children in node Description
public void DOMParentNode::replaceChildren(DOMNodestring
...$nodes )Replace children in node. Parameters
Return ValuesNo value is returned. Errors/Exceptions
Changelog
ExamplesExample #1 DOMParentNode::replaceChildren example
The above example will output: <?xml version="1.0" standalone="yes"?> <!DOCTYPE HTML> <html>foo<p/>bar</html> |