What To Expect From PHP7
summary
PHP 7 lands with major measurable wins: big speed and memory reductions comparable to HHVM, new AST-based compile step, and real-world benchmarks showing large throughput gains; language changes include the <=> spaceship and ?? null coalesce operators, scalar and return type hints with opt-in strict mode via declare(strict_types=1), new Error/Throwable classes and intdiv, plus random_bytes()/random_int(). Migration tools include the phan static analyzer; watch out for uniform-variable and foreach semantics changes, and removed mysql_* functions — most upgrades work but test extensions and libraries.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 2:18Performance
- 5:24Why PHP7
- 7:36Abstract Syntax Tree
- 14:19Type Hinting
- 15:19Catchable Fatal Error
- 16:29Reserved Words
- 24:17Exceptions
- 29:33Errors
- 33:03Random functions
- 34:09JSON extension
- 34:24Upgrading
- 39:32ForEach
- 41:35Pre deprecated features
- 43:54Action points
- 45:49Upgrade instructions
- 49:24Getting PHP7
- 50:55Conclusion








