<?php $document = new DOMDocument(); $root = new DOMElement('root'); $document->appendChild($root); $child = new DOMElement('child'); $root->appendChild($child); $root->removeChild($child); var_dump($root);
You have javascript disabled. You will not be able to edit any code.