Speeding up the Web with PHP 7
summary
PHP 7 ships with large practical wins: 2x overall and 3x on WordPress performance and big memory cuts (example WordPress array test drops from ~43MB to ~6MB), a file-based opcache for faster restarts and CLI, an AST-based parser exposing static analysis, fatals-as-exceptions, return and scalar type hints (coercive or strict), null-coalesce and spaceship operators, zero-cost assertions, and deployment tooling shown (IRC-based deploys, mod_realpath, fan static analyzer, Vagrant images).
AI-written summary · about
chapters (39)
- 0:00Introduction
- 1:17Filebased opcode cache
- 2:42Filebased disk cache
- 4:14AST parser
- 6:13Fatal exceptions
- 8:01New feature return types
- 8:25Scalar types
- 10:34Anonymous classes
- 10:48Null coalesce operator
- 12:02Spaceship operator
- 13:59Closure call
- 14:34String
- 14:50Numbers
- 15:38Uniform Variable Syntax
- 17:29Code Point Escape Syntax
- 17:44Internal char class
- 19:34Erase
- 20:52Huge Pages
- 21:13JIT
- 22:11Drupal
- 22:58WordPress
- 24:29PHP 7 with FTO
- 26:20PHP 7 with Laravel Symphony
- 26:42Geeklog
- 26:59Magento
- 27:58Moodle
- 28:22Memory Use
- 29:39Base Use
- 29:55Drupal 8 Usage
- 30:52Running WordPress
- 31:07LefttoRight Semantics
- 32:22Fan Tool
- 33:06Monologue
- 33:22PHP Deployment
- 34:49Document Route
- 37:55Logging
- 38:50Postmortems
- 39:25Vagrant
- 40:10PHP 7 compatibility








