Growing the PHP Core — One Test at a Time
summary
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
chapters (5)
- 0:00Start
- 4:41RUN THE TESTS
- 11:13WHAT TO TEST?
- 20:29TIME FOR THE SOURCE the source
- 29:15WHAT DO YOU GAIN?
related talks
31mGrowing the PHP Core – One Test at a Time
38mGrowing the PHP Core One test at a Time
28mGrowing the PHP Core – One Test at a Time
24mGrowing the PHP Core One Test at a Time
51mHow to contribute to PHP?
05mInterview – Gina Peter Banyard
45m30 Years of PHP, 25 Years of Testing: A Journey Through Code and Community
58mTesting Complex Applications for PHP7
