= 5.1.0, PHP 7, PHP 8)XMLReader::moveToAttribute — Move cursor to a named attribute說明public XMLReader::moveToAttribu">
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::moveToAttribute — Move cursor to a named attribute
$name
): boolPositions cursor on the named attribute.
name
The name of the attribute.
成功時返回 true
, 或者在失敗時返回 false
。