Php/docs/parle-rparser.tokenid

提供:Dev Guides
< Php
移動先:案内検索

Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenIdGet token id


説明

public Parle\RParser::tokenId ( string $tok ) : int

Retrieve the id of the named token.


パラメータ

tok
Name of the token as used in Parle\RParser::token().


返り値

Returns int representing the token id.