W3cubDocs

/PHP

Dom\CharacterData::appendData

(PHP 8 >= 8.4.0)

Dom\CharacterData::appendData Append the string to the end of the character data of the node

Description

public Dom\CharacterData::appendData(string $data): void

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

Parameters

data

The string to append.

Return Values

Always returns true.

See Also

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/dom-characterdata.appenddata.php