PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Parle\Parser::tokenId

(PECL parle >= 0.5.1)

Parle\Parser::tokenIdGet token id

说明

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

Retrieve the id of the named token.

参数

tok

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

返回值

Returns integer representing the token id.