~/talk

Migrating to PHP 7

Talkat International PHP Conference Spring 2019 · 2019-06-03..06-07· [php]
slides:none on file

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

  1. 0:00Introduction
  2. 3:15Selling PHP 7
  3. 4:29gdpr
  4. 6:00incremental maintenance cost
  5. 8:20should we rewrite
  6. 10:23install PHP 7
  7. 12:51tools
  8. 16:24PHP 7 Compatibility Checker
  9. 19:01Unique Class Names
  10. 20:47Error Reporting
  11. 21:57Aggregate Logs
  12. 24:14Filtering Logs
  13. 25:23ThirdParty Code
  14. 28:28Check for Updates
  15. 29:23Test Automation
  16. 30:06Characterization Tests
  17. 32:15Migrating to PHP 7
  18. 34:37Zent Engine 1
  19. 35:29Containers
  20. 38:04Data Quality
  21. 40:04Davi Shafiq
  22. 41:21Prepared Statements vs PDO
  23. 42:31Prepared Statements
  24. 42:52Pro Tip
  25. 44:20Deprecation warnings
  26. 45:10Agile migration
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.