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

XMLReader::moveToAttributeNo

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

XMLReader::moveToAttributeNoMove cursor to an attribute by index

說明

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

Positions cursor on attribute based on its position.

參數

index

The position of the attribute.

返回值

成功時返回 true, 或者在失敗時返回 false。

參見