~/talk

Growing the PHP Core - One Test at a Time

Talkat API Platform Conference 2025 · 2025-09-18..09-19· [php, testing]
slides:none on file

Clone and compile PHP, run tests with make test -j10 and write a PHPT that fakes headers via the test runner’s env section; the concrete bug is testing select_output_encoding (gzip vs false) and discovering headers-already-sent and copy‑on‑write superglobals issues. The demo runs ~21,000 tests (17,000 executed) with 99.9% passing, fixes the test by buffering output and setting env vars, and lands as a committed PHPT using the PHPT file format so the change actually ships in PHP 7.3.

AI-written summary · about

  1. 0:00Introduction and background
  2. 5:51Why write PHP core tests
  3. 9:39Running PHP tests locally
  4. 13:55Understanding PHPT test format
  5. 16:03Demo writing a PHP test
  6. 26:50Benefits of contributing tests
  7. 28:15What you gain from testing
  8. 30:02Closing and call to action
~/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.