DOMDocument->createDocumentFragment Create new document fragment Description objectDOMDocument->createDocumentFragment This function returns a new instance of class DOMAttr. The name of the attribute is the value of the first parameter. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild. The return value is &false; if an error occurred.