XMLReader::moveToAttribute

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

XMLReader::moveToAttributeMove cursor to a named attribute

Опис

public XMLReader::moveToAttribute(string $name): bool

Positions cursor on the named attribute.

Параметри

name

The name of the attribute.

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

Повертає true у разі успіху або false в разі помилки.

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