What's new in PHP
summary
Recent PHP versions deliver concrete gains: object-heavy code runs up to twice as fast versus 5.3 and typical memory drops ~20–30%, opcache is built in (but often disabled), the old MySQL extension is deprecated in favor of PDO or mysqli, and 5.5 adds easy secure passwords via password_hash/password_verify with password_default (bcrypt) producing ~60‑char hashes. Date handling gains an immutable class so DateTimeImmutable doesn't mutate, and 5.5–5.6 add generators (yield) and coroutine send for streaming workflows. Upgrade to 5.5/5.6 when possible.
AI-written summary · about
chapters (13)
- 0:00Introduction to PHP status
- 1:31Understanding PHP versions
- 7:02Common upgrade pitfalls
- 11:46Utilizing traits
- 15:06New features in PHP 5.5
- 17:36Secure password management
- 23:49Generators and efficiency
- 26:39Co-routines explained
- 28:41Database and caching updates
- 31:45Advanced PHP 5.6 features
- 36:32Performance and motivation
- 41:32The upgrade roadmap
- 51:44Q&A and conclusion








