~/talk

Unlock Parallel Processing in PHP with Fibers

Talkat International PHP Conference 2025 · 2025-06-02..06-06· [php, concurrency]
links:none on file
slides:none on file

Concrete rundown of what fibers actually do: fibers arrive in PHP 8.1 as a Fiber class with suspend/resume and state methods, example code shows start returning the suspend value and resume supplying the next value, demos iterate an array and nest fibers (it works). Important limits: fibers pause the whole stack and currently allow only one fiber running at a time, they do not make PHP async by themselves and require a scheduler/library (examples and code link on GitHub).

AI-written summary · about

  1. 0:00Introduction
  2. 0:30About Tomasz
  3. 1:54What are Fibers
  4. 3:36Methods
  5. 4:50Concurrent Execution
  6. 6:40Callable Functioning
  7. 9:12Asynchronous PHP
  8. 11:25Direct Threads
  9. 13:00Generators
  10. 13:47QR Code
  11. 14:45Editor
  12. 15:25First example
  13. 23:22Wrap up
  14. 25:02Questions
  15. 27:30Isrunning
  16. 29:00Sequential execution
  17. 31:01Database connection
  18. 32:02Recap
  19. 33:18Unit test
  20. 34:09Audience questions
~/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.