(no version information, might be only in CVS)
DomDocument->add_root [deprecated] -- Adds a root node切記! |
This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk. |
Adds a root element node to a dom document and returns the new node. The element name is given in the passed parameter.