Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenIdGet token id

Description

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

Retrieve the id of the named token.

Parameters

tok

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

Return Values

Returns int representing the token id.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-rparser.tokenid.php