The new features of PHP 7
summary
PHP 7 (released December 2015) rewrites internals and yields big, measurable gains: an example array script drops memory use from 400MB to 53MB and execution time falls by an order of magnitude; WordPress benchmarks show double requests per second over PHP 5.6; real sites like Badoo, Tumblr and Dailymotion report halved CPU/latency or large cost savings. Language changes add scalar and return type declarations, the spaceship and null-coalescing operators, anonymous classes, Throwable error handling, random_bytes/random_int, and 7.1 brings OpenSSL AEAD (GCM/CCM) and mcrypt deprecation.
AI-written summary · about
chapters (10)
- 0:00Introduction and PHP overview
- 3:02PHP 7 release and history
- 6:40PHP 7 performance improvements
- 15:43Type declarations in PHP 7
- 18:57Secure random number generator
- 23:46Anonymous classes feature
- 24:50Spaceship and coalescing operators
- 27:22New error handling in PHP 7
- 29:33PHP 7.1 minor release features
- 32:20Closing remarks and Q&A








