= 5.1.0, PHP 7, PHP 8)XMLReader::moveToAttributeNo — Move cursor to an attribute by index說(shuō)明public XMLReader::moveT">

XMLReader::moveToAttributeNo

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

XMLReader::moveToAttributeNoMove cursor to an attribute by index

說(shuō)明

public XMLReader::moveToAttributeNo(int $index): bool

Positions cursor on attribute based on its position.

參數(shù)

index

The position of the attribute.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。

參見(jiàn)