(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.
dataThe string to append.
Always returns true.
| Version | Description |
|---|---|
| 8.3.0 | This function now has a tentative true return type. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domcharacterdata.appenddata.php