The new Abstract Syntax Tree (AST) in PHP 7 means the way our PHP code is being executed has changed. Understanding this new fundamental compilation step is key to understanding how our code is being run.

To demonstrate, James will show how a basic compiler works and how introducing an AST simplifies this process. We’ll look into how these magical time-warp techniques* can also be used in your code to introspect, analyse and modify code in a way that was never possible before.

After seeing this talk, you'll have a great insight as to the wonders of an AST, and how it can be applied to both compilers and userland code.

(*actual magic or time-warp not guaranteed)

Comments

Comments are closed.

Very informative talk about the AST and its possibilities.

I think the talk improved quite a bit in comparison to the last time I saw it. Clear explanation of what an AST is, how it works and how it can be processed.

Théo FIDRY at 10:22 on 23 Sep 2018

Really nice walkthrough on how to get started with ASTs, how to deal with it and how to use it.

Claudio at 23:01 on 23 Sep 2018

This talk was about how the AST look like and what kind of benefits it brought to PHP. In the later part of the talk, other AST related libraries were shown and what possibilities they can add to a project. Next to extensions, there were also PHP libraries mentioned. If you want to get a better understanding of PHP, you should participate in this talk.

Susanne Moog at 23:46 on 26 Sep 2018

Fun talk with an easy to follow structure that helped me get a better grasp of the topic.