(PHP 5, PHP 7, PHP 8)
La clase DOMText hereda de DOMCharacterData y representa el contenido textual de un objeto DOMElement o DOMAttr.
$exclusive = false,$withComments = false,$xpath = null,$nsPrefixes = nullMantiene todo el texto de los nodos Text adyacentes de forma lógica (sin estar separados por Element, Comment o Processing Instruction).
| Versión | Descripción |
|---|---|
| 8.0.0 | The unimplemented method DOMText::replaceWholeText() has been removed. |