~/talk

PHP Extensions

Talkat PHP UK Conference 2013 · 2013-02-21..02-23· [php]
slides:none on file

Slides show how to build a real PHP extension end to end: install GCC make autoconf and PHP development headers, configure PHP with enable-debug and enable-maintainers, write a simple hello() function that compiles via config.m4 and make and runs in minutes, parse parameters into ZVAL/ZV types, copy/separate strings to avoid mutating user data, use emalloc vs malloc for request-scoped memory, hook MINIT/RINIT lifecycles, link external libraries with AC_TRY_RUN and handle version checks.

AI-written summary · about

  1. 0:00Start
  2. 1:17Php Development Headers
  3. 4:33Accepting Parameters
  4. 14:01Variable Arguments
  5. 14:12Variable Argument
  6. 16:01Types of Memory Php Extensions
  7. 19:24Returning Values from Functions
  8. 21:24Sp Printf Function
  9. 25:27Life Cycles of the Php Runtime
  10. 25:58Requests
  11. 26:36System Level Callbacks
  12. 27:59Work Dependencies
  13. 31:05Thread Global
  14. 34:25Namespaces
  15. 35:54Declaring Methods
  16. 38:34Custom Objects
  17. 42:31Windows for Php
~/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.