Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the inner workings of PHP in this in-depth conference talk from PHP UK Conference 2017. Delve into how different language keywords and constructs are handled internally, with a focus on the conversion to goto statements. Examine the various stages of PHP execution, including tokenization, parsing, and bytecode generation. Learn about complex language constructs like loops and exceptions, and how they are implemented at a low level. Gain insights into code analysis techniques such as branch analysis and code coverage. Ideal for developers seeking a deeper understanding of PHP's internal mechanisms, this presentation features detailed explanations, assembly-like code, and tree structures to illustrate key concepts.
Syllabus
Introduction
Who am I
Lets get started
The stages
Parse
tokenize
initial
example script
tokenizer
language parson
read through
tables of numbers
scanner rules
scanner AST
mope
mope generated
SCParse
ASP Assignment
Conversion
bytecode
opcodes
jump
if statement
jump instructions
rings
for loop
while loop
complex loops
complex loops graph
exceptions
code analysis
branch analysis
branch analysis output
recap
code coverage
token yield
Taught by
PHP UK Conference