(PECL parle >= 0.5.1)
Parle\Parser::tokenId — Get token id
public Parle\Parser::tokenId(string $tok): int
Retrieve the id of the named token.
tokName of the token as used in Parle\Parser::token().
Returns int representing the token id.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-parser.tokenid.php