# DOMCharacterData::appendData

(PHP 5, PHP 7, PHP 8)

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

### 说明

public 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.

### 参见

- DOMCharacterData::deleteData() - Remove a range of characters from the character data
- DOMCharacterData::insertData() - Insert a string at the specified UTF-8 codepoint offset
- DOMCharacterData::replaceData() - Replace a substring within the character data
- DOMCharacterData::substringData() - Extracts a range of data from the character data

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open