~/talk

What's New in PHP 8.1

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

Covers concrete, engine-level changes with code examples and demo outputs so watchers learn what actually works now: Enumerations with backed values and methods, the new never return type, intersection types, Fibers (cooperative multitasking), array_is_list, new initializers and readonly properties, Intl date pattern fixes, and globals behavior change. Shows xdebug dumps and runtime behavior, points out deprecations and default MySQL error changes, and demonstrates where code will break and how to fix it.

AI-written summary · about

  1. 0:00Introduction
  2. 2:32enum type
  3. 3:27enum example
  4. 9:04Static values inside functions
  5. 11:00Never type
  6. 12:25Class constants
  7. 12:52PHP type system
  8. 14:07Pure intersection types
  9. 15:24splat operator in arrays
  10. 16:23named arguments
  11. 17:55newinitializers
  12. 19:11new attributes
  13. 20:16readonly
  14. 21:24octal
  15. 22:47intel extension
  16. 26:19fibers
  17. 26:59pippa
  18. 28:05Array is just values
  19. 28:35mysql error mode
  20. 29:02Globals
  21. 30:25Globals Restrictions
  22. 31:50Serializable Interface
  23. 33:53PHP 81
  24. 34:18No to nonnullable arguments
  25. 34:48PHP H1
  26. 37:02Return Types
  27. 38:58Applications
  28. 42:21PHP Internals
  29. 44:07Questions
  30. 46:26Conclusion
~/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.