~/talk

How to contribute to PHP

Talkat PHP UK Conference 2024 · 2024-02-15..02-16· [php]
slides:none on file

Hands‑on tutorial walks through compiling PHP, generating an extension skeleton and actually building a C extension for rational numbers (numerator/denominator), wiring arginfo from .stub.php so register_class and properties appear automatically, writing phpt tests and running make test until three generated tests are green, debugging failing C with phpt+GDB flow. It covers parameter parsing (ZEND_PARSE_PARAMETERS), throwing ValueError for zero denominator, and confirms the extension compiles and the tests run.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Who am I
  3. 2:00Slides
  4. 3:01Documentation
  5. 5:35PhD
  6. 6:58Web PHP
  7. 7:54Tests
  8. 10:47Extensions
  9. 12:10PHP
  10. 13:26Resources
  11. 16:34Issue triage
  12. 17:33Internals mailing list
  13. 22:19What we work on
  14. 27:26Defining the class
  15. 28:18Register the class
  16. 29:29Define the module
  17. 32:09Declaring a method
  18. 34:19Zend values
  19. 36:44If check
  20. 38:09Adding methods
  21. 41:16Adding more methods
~/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.