~/talk

Welcome to the new age porting extensions to PHP 7

Talkat PHP UK Conference 2016 · 2016-02-18..02-19· [php]
slides:none on file

Porting PHP 5 extensions to PHP 7 demands concrete fixes not rhetoric: 333 functions/macros are gone, 410 are new, and 516 of 990 same‑named APIs actually change, so expect API churn. The work is to build against PHP 7, fix zend_pass_parameter type mismatches, update zval string/resource/object handling, and replace changed hash and allocator patterns. Useful tools and patterns include clang diagnostics and gdb, valgrind and CI test matrices, and a compatibility header library to smooth differences.

AI-written summary · about

  1. 0:00Start
  2. 0:39Porting Extensions to Php 7
  3. 0:54Php 7
  4. 3:22Advantages and Disadvantages
  5. 4:17Option Two Is To Maintain Parallel Branches
  6. 7:48Compiler Errors
  7. 8:08What Do We Need To Look for When Migrating the Extension
  8. 11:23Strings
  9. 13:39Functions and Macros in Php
  10. 22:29Compatibility Header
  11. 23:56Resources
  12. 26:34Objects Basic Object Handling
  13. 29:10Custom Allocator in Php 5
  14. 33:49References
~/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.