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.

�μ�