What's new in PHP 8.4 (and 8.5)
summary
Shows that PHP 8.4 actually ships Property Hooks and Asynchronous Visibility with working getter/setter hooks that create storage only when needed, an opt‑in Improved HTML5 parsing via DOM\HTMLDocument, a rewritten JIT backend (compatible but easier to maintain), PDO::connect returning driver subclasses, grapheme_string_split and a grapheme Levenshtein implementation that counts emoji correctly, a recent Xdebug breakpoint fix, and a pipe operator vote of about 264 for and 5 against for a likely PHP 8.5 addition.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:05Asymmetric property visibility
- 5:22Property hooks
- 10:23Constructor property promotion
- 11:25Constant expressions
- 12:50Pipe operator proposal
- 14:57HTML 5 parsing
- 17:47JIT compiler updates
- 22:07Deprecated attribute
- 23:35Attributes on constants
- 24:18No discard attribute
- 26:49PDO driver subclasses
- 28:35Unicode grapheme functions
- 31:21Unicode Levenshtein distance
- 33:27Implicit nullability deprecation
- 35:09PHP governance changes
- 37:40Release cycle explained
- 39:28Q&A








