DOMDocument::createCDATASection

(PHP 5, PHP 7)

DOMDocument::createCDATASectionCreate new cdata node

说锟斤拷

public DOMDocument::createCDATASection ( string $data ) : DOMCDATASection

This function creates a new instance of class DOMCDATASection. 锟剿节碉拷锟斤拷锟斤拷锟斤拷牡锟斤拷校锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟� DOMNode->appendChild() 锟饺猴拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷搿�

锟斤拷锟斤拷

data

The content of the cdata.

锟斤拷锟斤拷值

The new DOMCDATASection or FALSE if an error occurred.

锟轿硷拷