~/talk

Growing the PHP Core — One Test at a Time

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [php, open-source]
slides:none on file

Shows how to contribute to PHP core by writing PHPT tests in PHP (no C, no RFCs), how to compile PHP and run the test runner (phpunit) locally, and how a single targeted test exposes and fixes behavior around output compression. The repo has about 16,000 tests with 99.7% passing on a local run (11,000 executed, 4,800 skipped); debugging reveals superglobals are copy‑on‑write and to check ini_set return values; a test and patch later result in a pull request merged into PHP 7.3.

AI-written summary · about

  1. 0:00Start
  2. 4:41RUN THE TESTS
  3. 11:13WHAT TO TEST?
  4. 20:29TIME FOR THE SOURCE the source
  5. 29:15WHAT DO YOU GAIN?
~/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.