~/talk

Growing the PHP Core – One Test at a Time

Talkat International PHP Conference Berlin 2026 · 2026-06-08..06-12· [php]
slides:none on file

Claim: contribute to PHP core by writing tests without C. Shows cloning PHP from GitHub, compiling, running make test, and writing PHPT files using the phpt file format to exercise output-compression behavior (Accept-Encoding, zlib.output_compression ini). Runs ~11,891 tests in ~35 seconds with 99.7% succeeded and two failures, diagnoses a copy‑on‑write superglobal issue, injects HTTP_ACCEPT_ENCODING via environment to avoid gzip binary output, opens a pull request that lands and shows coverage.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Getting started with testing
  3. 3:07Compiling and running tests
  4. 7:54Anatomy of a PHPT test
  5. 11:12Finding bugs and test targets
  6. 13:52Writing and debugging a test
  7. 25:37The value of contribution
  8. 29:47Q&A and closing
~/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.