Migrating to PHP 7
summary
Claims ~100% speedup and a completed migration for a large company that included long‑running PHP daemons, with most issues fixed by tooling and small fixes rather than rewrites. Run PHP -l linter, enable error_reporting = -1, use an IDE with inspections (phpStorm mentioned) and the PHP7 compatibility checker, inventory third‑party code and migrate to composer, apply the mysqli shim by Davi Shafiq for legacy mysql calls, aggregate logs (one case drops ~20,000 daily entries to a few hundred), and favor incremental yearly upgrades.
AI-written summary · about
chapters (26)
- 0:00Introduction
- 3:15Selling PHP 7
- 4:29gdpr
- 6:00incremental maintenance cost
- 8:20should we rewrite
- 10:23install PHP 7
- 12:51tools
- 16:24PHP 7 Compatibility Checker
- 19:01Unique Class Names
- 20:47Error Reporting
- 21:57Aggregate Logs
- 24:14Filtering Logs
- 25:23ThirdParty Code
- 28:28Check for Updates
- 29:23Test Automation
- 30:06Characterization Tests
- 32:15Migrating to PHP 7
- 34:37Zent Engine 1
- 35:29Containers
- 38:04Data Quality
- 40:04Davi Shafiq
- 41:21Prepared Statements vs PDO
- 42:31Prepared Statements
- 42:52Pro Tip
- 44:20Deprecation warnings
- 45:10Agile migration
related talks
49mThe why and the how of moving to 7.x
43mStepping into the future: Migrating & Deploying PHP7
49mUpgrading Legacy to the Latest PHP Version
58mWhat To Expect From PHP7
43mSpeeding up the Web with PHP 7
01h 02mSpeeding up the Web with PHP 7
58mTesting Complex Applications for PHP7
34mWhat To Expect From PHP7
