--TEST-- DOMComment::__construct() with constructor called twice. --CREDITS-- Eric Lee Stewart # TestFest Atlanta 2009-05-25 --SKIPIF-- --FILE-- appendChild(new DOMElement('root')); $comment = new DOMComment("This is the first comment."); $comment->__construct("This is the second comment."); $comment = $element->appendChild($comment); print $dom->saveXML(); ?> --EXPECT--