Talk in English - US at PHP UK Conference 2018
Track Name:
Bytemark Track
View Slides: https://www.slideshare.net/asgrim1/climbing-the-abstract-syntax-tree-php-uk-2018
Short URL: https://joind.in/talk/63af9
(QR-Code (opens in new window))
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)
Level: Intermediate
Comments
Comments are closed.
Interesting look at internals; it stayed a bit academic until the very end with some practical applications day-to-day and I’d have liked to see more ‘cool stuff I can do’
Very interesting and enlightening talk.
Knowing a little about the various parts of the PHP compilation it was great to have an explanation of how it all works together.
The breakdown of how a compilation stack works was particularly clear and easy to grasp
I enjoyed this talk and liked speaker's humor :)
I found this talk interesting and informative. It was nice to refresh the knowledge of how the PHP compilation works, what the AST is and how it all works together. It was explained in a clear and concise way with a bit of humour - thank you James! It was nice to see the practical examples at the end which tied it all together. Good pace throughout the talk.