XMLReader::moveToFirstAttribute

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

XMLReader::moveToFirstAttributePosition cursor on the first Attribute

說明

public XMLReader::moveToFirstAttribute(): bool

Moves cursor to the first Attribute.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

參見