|
|
|
|
|
by mfonda
5234 days ago
|
|
They are very different things. token_get_all just tokenizes the code, but this tool parses PHP code into an AST. If you look at the source of this project, you'll notice that it does indeed use token_get_all to handle the lexing. |
|
Well done with the project--I have a use case for it regarding enforcing PHP style guide @ $work.