token_name()
function token_name(int $id): string
Get the symbolic name of a PHP token identifier.
Parameters:
$id(int)
Returns: string
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how token_name is implemented in the compiler, see the internals page.