Have you heard the term Abstract Syntax Tree (AST) and wondered what it is and where it is used?
First this talk explains what the AST is. It then looks at practical applications of it.
We will briefly look at how the AST is used by the PHP interpreter. The remainder of the talk examines how advanced static analysis tools (like Psalm and PHPStan) use the AST to find issues with code. Finally we'll see how to write our own static analysis rule.
See more talks.