~/talk

PHP Internals for the Inquisitive Developer

slides:none on file

Walks through the PHP request lifecycle, shows how SAPIs and Zend vs module extensions actually register, and explains PHP 7 internals: zvals move off the heap, reference counting shifts to complex types, and strings embed length and data. Demonstrates source navigation with LXR and bytecode inspection with VLD, explains opcache shared memory for FPM workers and a few opcode optimizations, and shows crash debugging via gdb and strace/ltrace with a real recursion segfault that produces 46,000 frames.

AI-written summary · about

  1. 0:00Intro
  2. 0:44A Little About Myself
  3. 1:48Some Topics to Cover
  4. 4:16Everything Starts Here
  5. 5:33Server APIs
  6. 8:00Types of Extensions
  7. 10:36Module Scope
  8. 11:13Request Scope
  9. 12:50Process Model
  10. 13:15Thread Model
  11. 13:45Global Scope
  12. 14:36PHP Process Manager
  13. 18:35Zval Improvements in PHP 7
  14. 21:57Types and Attributes
  15. 31:17Interpretation vs. Compilation
  16. 33:01Parsing Tokens (token get_all)
  17. 37:00Opcode Caching
  18. 38:49OpCode Optimizations
  19. 43:35Tracing System Calls (strace)
  20. 43:59Tracing Library Calls (Itrace)
  21. 44:15Debugging Crashes (gdb)
  22. 44:57Capturing a Core Dump
  23. 45:24Traversing the Backtrace
  24. 46:12Resources and Further Reading
~/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.