What's New in PHP 8.3
summary
Concrete changes and how they behave matter: PHP 8.3 tightens typing with Typed Class Constants and Readonly Classes, adds Arbitrary Static Variable Initialisers, an override attribute and a sensitive-parameter wrapper for stack traces, ships a new random extension and a memory‑cheap Json validate API, revises JIT internals and PDO factory pconnect, offers intersection/ DN F types and named arguments caveats, and prototypes an HTML5 DOM drop‑in — each item lists what was built and how it changes runtime behavior.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 2:08Read-only properties
- 6:40Named arguments
- 10:17Enumerations in 8.3
- 12:29Spread operator
- 13:32Closure binding
- 16:23Return types
- 18:52Union and DNF types
- 22:02Generics future
- 23:45New randomness
- 28:25Deprecating dynamic props
- 29:28Sensitive params
- 31:36Typed constants
- 33:56Testing PHP 8.3 release candidates
- 36:16Dynamic class constants
- 38:22Static init in 8.3
- 39:49JSON validation
- 41:39DateTime errors
- 44:09XML parsing updates
- 46:56Just-in-time compiler improvements
- 51:10PDO subclassing
- 52:33Rounding modes
- 55:25Q&A








