~/talk

Its All About The Goto

Talkat PHP UK Conference 2017 · 2017-02-16..02-17· [php]
slides:none on file

Shows exactly how PHP transforms code: tokenizer → AST → opcodes → execution, and why control flow becomes jumps. Demonstrates concrete numbers: 500 parser states and four opcodes for a simple constructor, explains opcode formats and conditional jumps, and shows tooling and outputs with VLD and PHP‑ast extensions. Covers optimizations (OPcache removes dead code), branch analysis, and the exponential pulse problem (two ifs produce four execution pulses).

AI-written summary · about

  1. 0:00Introduction
  2. 0:44Who am I
  3. 1:18Lets get started
  4. 1:39Parse
  5. 2:26tokenize
  6. 2:42initial
  7. 4:18example script
  8. 4:44tokenizer
  9. 6:21language parson
  10. 6:34tables of numbers
  11. 7:42scanner rules
  12. 10:36scanner AST
  13. 10:49mope
  14. 12:42SCParse
  15. 15:09ASP Assignment
  16. 16:26Conversion
  17. 16:47bytecode
  18. 25:08jump
  19. 25:45if statement
  20. 27:42jump instructions
  21. 28:57rings
  22. 29:28for loop
  23. 32:52while loop
  24. 38:50complex loops
  25. 40:39complex loops graph
  26. 42:21exceptions
  27. 45:23code analysis
  28. 46:55branch analysis
  29. 48:57branch analysis output
  30. 52:08recap
  31. 56:49code coverage
  32. 58:24token yield
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.