array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'domdocument.createcdatasection.php', 1 => 'DOMDocument::createCDATASection', ), 'up' => array ( 0 => 'class.domdocument.php', 1 => 'DOMDocument', ), 'prev' => array ( 0 => 'domdocument.createattributens.php', 1 => 'DOMDocument::createAttributeNS', ), 'next' => array ( 0 => 'domdocument.createcomment.php', 1 => 'DOMDocument::createComment', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/dom/domdocument/createcdatasection.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMDocument::createCDATASection — Cria um novo nó de CDATA
Esta função cria uma nova instância da classe DOMCDATASection. Este nó não aparecerá no documento a menos que seja inserido, por exemplo, com DOMNode::appendChild().
data
O conteúdo do CDATA.
O novo DOMCDATASection ou false
se ocorrer um erro.