DOMDocument::createCDATASection

(PHP 5, PHP 7, PHP 8)

DOMDocument::createCDATASectionCreate new cdata node

Descrizione

public DOMDocument::createCDATASection(string $data): DOMCdataSection|false

This function creates a new instance of class DOMCDATASection. Questo nodo non verrà mostrato nel documento a meno che venga inserito con, es. DOMNode::appendChild().

Elenco dei parametri

data

The content of the cdata.

Valori restituiti

The new DOMCDATASection or false if an error occurred.

Vedere anche: