Skip to content

Update for PHP8+: Utilize PhpToken::tokenize() #1103

@staabm

Description

@staabm

when this repo is updated for PHP8+, it should switch from token_get_all to the more efficient PhpToken::tokenize variant.

PhpToken::tokenize() is more memory efficient and faster, see https://wiki.php.net/rfc/token_as_object

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions