Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Parle\RParser::tokenParle\RParser::trace>
^Parle\RParserLast updated: Mon, 26 Oct 2026

Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenId — Get token id

Description

public function 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.


<Parle\RParser::tokenParle\RParser::trace>
^Parle\RParserLast updated: Mon, 26 Oct 2026