This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.
Creates a new dom document from scratch and returns it.
See also DomDocument_add_root()