~/talk

What's new in PHP 8.3

Talkat phpday 2024 · 2024-05-16..05-17· [php]
slides:none on file

A concrete changelog: PHP 8.3 (and nearby 8.1–8.4 items) adds Typed Class Constants, readonly classes that forbid dynamic properties, true class-constant variable access, arbitrary static initialisers, Random extension with Randomizer methods (getBytes getInt pickArrayKeys), JSON_VALIDATE to check JSON without decoding, property hooks for virtual getters/setters, an easier JIT rewritten for multiple architectures, PDO driver subclasses, and attributes like sensitive parameter and overrides; several features hit release candidates, a few behavior details still adjust and some fixes surface during testing.

AI-written summary · about

  1. 0:00PHP 8.1 to 8.4 updates
  2. 1:27Read-only properties and classes
  3. 4:59Dynamic properties deprecation
  4. 6:29Enumerations and property fetching
  5. 7:56Closure from callable improvements
  6. 10:25Type system enhancements
  7. 12:10DNF types and compound types
  8. 16:03New random extension
  9. 21:43Sensitive parameter attributes
  10. 24:37Override attribute
  11. 26:23Typed class constants
  12. 28:31Dynamic class constants
  13. 31:20Static variable improvements
  14. 33:08JSON validation
  15. 34:53HTML5 and XML parsing
  16. 38:07JIT compiler replacement
  17. 40:39PDO sub-classes
  18. 41:43Property hooks
  19. 44:10Documentation and release updates
  20. 46:39Q&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.