How to contribute to PHP?
summary
Live coding adds a new PHP function in C and matching PHPUnit tests and shows the exact repo and build steps: PHP‑SRC, stub files, buildconf configure make -j, use of ZVALs and FCI/FCC to call userland callables, iterating zend hashes and returning integer or string keys or null, and common gotchas like manual return‑value destruction to avoid memory leaks. Handy references mentioned are heap.space and the PHP Internals book and the PHP Foundation donation route.
AI-written summary · about
chapters (10)
- 0:00Contributing to PHP
- 1:17Donating to PHP Foundation
- 2:00PHP documentation contributions
- 2:20Extending PHP with C code
- 7:38Setting up PHP source code
- 12:19Compiling PHP for testing
- 27:36Debugging and fixing PHP
- 32:34Final working code explained
- 38:55PHP internals learning resources
- 42:04Q&A
related talks
33mGrowing the PHP Core — One Test at a Time
24mGrowing the PHP Core One Test at a Time
46mPHP Is You! And You Can Contribute!
37mWelcome to the PHP community
43mUsing Open Source for Fun and Profit
41mUsing Open Source for Fun and Profit
34mHow to open source a PHP package
30mKeynote: The PHP Foundation: Three Years After
