array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'domcharacterdata.appenddata.php', 1 => 'DOMCharacterData::appendData', 2 => 'Append the string to the end of the character data of the node', ), 'up' => array ( 0 => 'class.domcharacterdata.php', 1 => 'DOMCharacterData', ), 'prev' => array ( 0 => 'domcharacterdata.after.php', 1 => 'DOMCharacterData::after', ), 'next' => array ( 0 => 'domcharacterdata.before.php', 1 => 'DOMCharacterData::before', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domcharacterdata/appenddata.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

DOMCharacterData::appendData

(PHP 5, PHP 7, PHP 8)

DOMCharacterData::appendData — Append the string to the end of the character data of the node

说明

public function DOMCharacterData::appendData(string $data): true

Append the string data to the end of the character data of the node.

参数

data

The string to append.

返回值

总是返回 true。

更新日志

版本 说明
8.3.0 This function now has a tentative true return type.

参见