Method | Description | |
---|---|---|
tokenizeString ( string $string, string $eolChar, integer $stackPtr ) : array | Creates an array of tokens when given some PHP code. |
Method | Description | |
---|---|---|
_collectWhitespace ( string $string, integer $start, integer $end ) : array | null | Collect consecutive whitespace into a single token. | |
_processLine ( string $string, string $eolChar, integer $start, integer $end ) : array | Process a single line of a comment. |