~/talk

What's New in PHP 8.1 and 8.2

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

Enumerations with backed values and Enumerations with backed values become real types usable in constructors and format helpers, Fibers land as Fibers for cooperative multitasking letting concurrent I/O without threads, intersection and DNF (disjunctive normal form) types let unions of intersections express complex constraints, readonly classes and readonly properties enforce one-time initialization, dynamic properties emit deprecation notices that break tests until fixed, a new random extension exposes three engines with deterministic seeding options, and a sensitive parameter attribute masks secrets in stack traces.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28PHP type system evolution
  3. 3:57Union types in PHP 8.0
  4. 6:27Read-only properties in PHP 8.1
  5. 8:54Mixed type practical use
  6. 10:44Constructor property promotion
  7. 11:51Named arguments for clarity
  8. 15:22Enumerations in PHP 8.1
  9. 22:47Never type for non-returning
  10. 25:14Pure intersection types
  11. 26:18Array spread operator
  12. 28:44Fibers for multitasking
  13. 30:53First-class callable syntax
  14. 34:24Standalone null false true types
  15. 37:15DNF types in PHP 8.2
  16. 38:41Random extension improvements
  17. 41:51Dynamic properties deprecation
  18. 46:03Sensitive parameters security
  19. 49:16Q&A
~/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.