What To Expect From PHP7
summary
PHP 7 delivers a major real‑world change: engine rewrites yield large speedups (bench.php shows dramatic reductions in runtime) and introduce an abstract syntax tree step that enables faster opcode generation and better static tools. New features include the spaceship and null coalesce operators, scalar and return type hints with optional strict mode, and an Error/Throwable hierarchy so many former fatals become catchable. Upgrades require updating extensions (most must be rebuilt; memcache is a known gap), use phan to scan code, and test on 5.5/5.6 then PHP 7.
AI-written summary · about
chapters (32)
- 0:00Intro
- 0:30Lorna Mitchell
- 1:10PHP Version Numbers
- 2:20PHP7 Speed
- 3:03Speed Graph
- 3:43Why is it faster
- 6:15Abstract Syntax Trees
- 7:05Spaceship Operator
- 8:25Ternary Shorthand Operator
- 10:32Type Hinting
- 11:41Type Hints
- 14:30Declaration
- 15:00Array
- 15:54Uncaught Type
- 17:13Exceptions
- 17:47Throwable
- 18:13Error
- 19:07Exception
- 19:57Calling a member function
- 20:56Using error
- 21:22Random things
- 21:49How will you upgrade
- 23:07Uniform Variable Syntax
- 24:40PHP Analyzer
- 26:44For Each
- 28:13Deprecation
- 29:14Upgrading to PHP7
- 29:35Running PHP7
- 30:32How fast is PHP7
- 31:35How to install PHP7
- 32:26Where are we
- 33:33Questions








