Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Move to Modern PHP in WordPress

F00cf4e7f02e10152f60ec3507fa8ba8?s=47 Gary Jones
September 28, 2017

The Move to Modern PHP in WordPress

Delivered at WordPress London September 2017 meetup.

Google Slides: https://docs.google.com/presentation/d/1Wo4LkkWyVP0DXk2A9evSMzvQxwIyugEDdhd3imK-60k/edit?usp=sharing

The Move To Modern PHP in WordPress by Gary Jones is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

F00cf4e7f02e10152f60ec3507fa8ba8?s=128

Gary Jones

September 28, 2017
Tweet

Transcript

  1. The Move to Modern PHP in WordPress Gary Jones (@GaryJ)

  2. 0. What’s Happening

  3. #core-php

  4. https://make.wordpress.org/core/tag/core-php/

  5. 1. The Goals

  6. Integrate improved patterns

  7. Introduce abstraction layers

  8. Increase minimum PHP version

  9. 2. The Problem

  10. PHP 5.2.4

  11. None
  12. PHP 5.5 and below is not supported

  13. None
  14. PHP 5.6: critical security releases only

  15. None
  16. None
  17. PHP 7.0 Actively supported until December 2017. Critical security releases

    until December 2018.
  18. PHP 7.2 Release Candidate stage Gold release: November 30th 2017

  19. None
  20. Bump WP Core? Sites will break after an upgrade on

    hosts that are not using at least the chosen level of PHP
  21. 3. The Solutions

  22. Hosts

  23. FlyWheel, taking the initiative.

  24. SiteGround: PHP 7.2 RC2

  25. Developers

  26. Require PHP

  27. None
  28. None
  29. Mockup

  30. None
  31. Users

  32. Wrapper for wimg/php-compatibility package

  33. Conclusion

  34. Thank You Gary Jones Gamajo @GaryJ https://gamajo.com Slides: https://gmj.to/modernphpinwp