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








