array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'domdocument.createdocumentfragment.php', 1 => 'DOMDocument::createDocumentFragment', ), 'up' => array ( 0 => 'class.domdocument.php', 1 => 'DOMDocument', ), 'prev' => array ( 0 => 'domdocument.createcomment.php', 1 => 'DOMDocument::createComment', ), 'next' => array ( 0 => 'domdocument.createelement.php', 1 => 'DOMDocument::createElement', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/dom/domdocument/createdocumentfragment.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMDocument::createDocumentFragment — Crea un nuevo fragmento de documento
Esta función crea una nueva instancia de la clase DOMDocumentFragment. Este nodo no se mostrará en el documento a no ser que sea insertado con (p.e.j.) DOMNode::appendChild().
El nuevo DOMDocumentFragment o false
si ha ocurrido un error.