In this tutorial we are going to dive deep into PHP’s Internals. It is appropriate for people that know PHP as a language well, but are interested into finding out what goes inside in-depth. We will start by looking at how the language parser and scanner work, which convert scripts into an Abstract Syntax Tree. When then look at how PHP internal byte code is generated from this AST, and how the engine runs byte code. After the introduction, we will working together on extending the PHP core with a new feature. As a treat, we’ll also have a look at the OPcache extension, and see which optimisations it does to generated byte code. Reasonable knowledge of C (or similar languages) is required to make the most of this tutorial.

Comments

Comments are closed.

Fantastic workshop. If anyone wants to learn more about how PHP works behind the scenes then I strongly recommend this going along to this.

What an amazing workshop gave by the speaker, was brilliant the way he simplified a complex workshop with easy examples and hands-on.

But, there was a part of the presentation (the OpCodes/OpCache) that was really difficult to understand, even with graphs and examples.

Apart from that, clap clap on the work.