DomDocument exists in DOM extension

[DomDocument](http://php.net/domdocument) comes actually from [DOM](http://php.net/manual/en/book.dom.php) extension