XMLReader::readString
PHP Manual
PHP Manual»XMLReader»XMLReader::readString

XMLReader::readString

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

XMLReader::readStringReads the contents of the current node as a string

Опис

public function XMLReader::readString(): string

Reads the contents of the current node as a string.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the content of the current node as a string. Empty string on failure.

Примітки

Застереження

Ця функція доступна тільки, якщо PHP зібрано разом з libxml версії 20620 або новішою.

Прогляньте також

To Top