getNextToken()
getNextToken(null|string $value = null, null|array $startAttributes = null, null|array $endAttributes = null) : integer
Override to the native getNextToken method
This method override ensures that the original value of tokens that would be transformed is stored
besides them in the result ast. Depending on the token type various attributes will be added to the token
and produced ast. These modifications are required to ensure the correct behaviour of the binary number detection,
the detection of booth flavors of the doc syntax, short array syntax and short echo tags.
Parameters
null|string |
$value |
|
null|array |
$startAttributes |
|
null|array |
$endAttributes |
|
Returns
integer
— Retrieved token id