--TEST-- dom: DOMChildNode::remove does not work on character data --EXTENSIONS-- dom --FILE-- loadXML(''); $doc->documentElement->firstChild->remove(); echo $doc->saveXML($doc->documentElement); --EXPECT--