Token
extends TokenPolyfill
in package
A PHP token. On PHP 8.0 this extends from PhpToken.
Table of Contents
Methods
- getEndLine() : int
- Get 1-based end line number of the token.
- getEndPos() : int
- Get (exclusive) zero-based end position of the token.
Methods
getEndLine()
Get 1-based end line number of the token.
public
getEndLine() : int
Return values
intgetEndPos()
Get (exclusive) zero-based end position of the token.
public
getEndPos() : int