PHP 8.0: A new version, a new era
summary
PHP 8 (GA Nov 2020) adds JIT aimed at CPU‑bound workloads and warns it does not match the big 5→7 speed jump; AWS contributes ARM64 optimizations; union types, union types and named arguments and attributes (runtime metadata replacing annotation hacks) land in core; match uses strict identity and surfaces missing cases; PDO now throws by default; magic methods gain strict return checks; reflection exposes type info for 3,000+ core functions; several deprecated behaviors are removed and some loose equality rules change.
AI-written summary · about
chapters (14)
- 0:00Introduction and PHP 8 release
- 1:48PHP 8 maintenance changes
- 3:36Talk agenda overview
- 4:41Performance improvements in PHP 8
- 9:17New features in PHP 8
- 14:57Union types and mixed type
- 15:19Match expression introduction
- 19:56Named arguments explained
- 26:54Attributes in PHP 8
- 31:48Changes and breaking changes
- 35:44Major breaking changes
- 42:06Internal changes in PHP 8
- 46:37Behind the scenes of PHP 8
- 54:49Conclusion and resources
