~/talk

It's all about the goto

Talkat PHP Tour Montpellier 2018 · 2018-05-17..05-18· [php]
slides:none on file

Explains PHP's pipeline: tokenizer -> bison parser producing an AST (comments/whitespace are dropped except docblocks) -> opcode generation where a simple three-line constructor becomes about seven opcodes with numbered variable slots like `!0`. Shows tools: VLD to dump opcodes, nikic/ast to inspect AST, and describes opcache removing NOPs and unreachable code. Notes goto compiles to unconditional jump, cannot jump into foreach (would hit uninitialized internals and segfault), and switch uses a hash/jump table optimization in PHP 7.

AI-written summary · about

  1. 0:00Introduction to goto in PHP
  2. 2:28PHP script execution stages
  3. 18:11From AST to bytecode
  4. 24:18Goto in control structures
  5. 35:27Recap and tools overview
  6. 37:55Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.