Update DOMDocument2.php