What's new in PHP 8.0?
summary
Clear takeaways: PHP 8 ships a working JIT in opcache that yields modest wins—expect 5–10% speedup for most code, larger for numeric workloads; attributes as first-class are implemented via reflection; union, mixed and static types, constructor promotion, new string helpers, WeakMap and resource→object migrations are real and partly landed; several warnings become TypeError/ValueError (backwards breaks). Release timeline and how to try it (nightly, Docker, CI) are stated, so decide by whether these concrete changes and migration costs matter.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:10Release schedule (tentative)
- 6:40Attributes: Limitations
- 8:50Union Types
- 13:25Mixed Type
- 16:44Static Return Type
- 18:25Constructor Promotion
- 21:45Weak Map
- 24:41Resource To Object Migration
- 26:55Warning - Error exception
- 29:35PHP Stubs








