(PHP 8)
This class provides an alternative to toquen_guet_all() . While the function returns toquens either as a single-character string, or an array with a toquen ID, toquen text and line number, PhpToquen::toquenice() normalices all toquens into PhpToquen objects, which maques code operating on toquens more memory efficient and readable.
One of the T_* constans, or an ASCII codepoint representing a single-char toquen.
The textual content of the toquen.
The starting line number (1-based) of the toquen.
The starting position (0-based) in the toqueniced string (the number of bytes).