the road to php 7.1
TRANSCRIPT
![Page 1: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/1.jpg)
THE ROAD TO PHP 7.1A PERSONAL STORY
![Page 2: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/2.jpg)
OH “PHP 7”
Zeev Suraski (@zeevs)
![Page 3: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/3.jpg)
![Page 4: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/4.jpg)
![Page 6: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/6.jpg)
#GOPHP7
![Page 7: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/7.jpg)
IMPORTANT QUESTIONS
HOW CAN WE MOVE TO PHP 7?
▸ Review PHP 7's changelog
▸ are we still using deprecated functions?
▸ are we using PHP extensions?
▸ do we depend on 3rd party packages?
![Page 8: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/8.jpg)
THE BEST WAY TO LEARN…
I PRESENTED ON PHP 7
▸ Required me to do the research
▸ Needed to engage with PHP core developers
▸ Played with the code base
▸ Simulated small challenges
▸ Reviewed the results
▸ BONUS: I could speak at meetups!!!
![Page 9: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/9.jpg)
PRESENTING ON A SUBJECT IS THE BEST WAY TO BECOME AN EXPERT ON THAT SUBJECT.
Cal Evans (@CalEvans)
TWEETABLE QUOTE
![Page 10: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/10.jpg)
FINDING ANSWERS
CODE ANALYSIS
▸ Reviewing codebases against PHP 7 change log
▸ Reviewing critical extensions and removing non-critical extensions
▸ Negotiate roadmaps with 3rd party vendors and software suppliers
▸ Discussing with the PHP community (global and local)
▸ To see what others have done (and learn from their experiences)
▸ To understand the position of projects and frameworks
![Page 11: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/11.jpg)
NOT READY (YET)!
Let’s get to ready…
![Page 12: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/12.jpg)
LET’S START THE ELIMINATION ROUND
mysqlnd_ms
DB ATK-FrameworkHTTP2
Net2
Drupal6
ereg_*mcrypt_*
mysql_*
![Page 13: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/13.jpg)
CHANGE TAKES TIMETHE INCONVENIENT TRUTH
![Page 14: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/14.jpg)
PHP 7.1AND THEN THERE WAS…
![Page 15: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/15.jpg)
WE NEED TO STEP UP!
![Page 16: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/16.jpg)
WHAT WE ALREADY DID
IMPROVE GOING FORWARD
▸ Elimination of non-compatible code
▸ Refactored code base
▸ Better understanding of our weaknesses
▸ Separation of responsibilities
![Page 17: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/17.jpg)
ENTER THE “ARMOURY”
USE THE PHPORCE
![Page 18: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/18.jpg)
![Page 19: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/19.jpg)
#COMMUNITYWORKS
![Page 20: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/20.jpg)
![Page 21: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/21.jpg)
THE COMMUNITY IS STRONG
SHARING AS WE GO FORWARD
▸ Sharing our issues & solutions
▸ Promoting PHP 7.1
▸ Improve adoption rate
▸ Becoming an expert in upgrades
▸ Learning more about PHP 7
![Page 22: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/22.jpg)
TO CHANGE IS DIFFICULT. NOT TO CHANGE IS FATAL.
William Pollard
TWEETABLE QUOTE
![Page 23: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/23.jpg)
OUR RESULTTIME TO SHOW
![Page 24: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/24.jpg)
THE NUMBERS
MEMORY
CPU
0 17,5 35 52,5 70
PHP 5.6 PHP 7.1
![Page 25: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/25.jpg)
THE "GRAPH"
![Page 26: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/26.jpg)
QUICK RECAP
TIMELINE
▸ Sep 2015: Research starts with PHP 7.0.0 RC3
▸ Dec 2015: Release of PHP 7.0.0
▸ Mar 2016: Planning starts
▸ Jul 2016: Preparation development starts
▸ Nov 2016: Testing phase starts
▸ Dec 2016: Release of PHP 7.1.0
▸ Jan 2017: Upgrade completed 🎉
![Page 27: The road to php 7.1](https://reader031.vdocuments.mx/reader031/viewer/2022030307/58eb8d391a28abde148b4627/html5/thumbnails/27.jpg)
in it2PROFESSIONAL PHP SERVICES
Michelangelo van DamZend Certified Engineer
[email protected] - www.in2it.beT @in2itvof - F in2itvof
PHPUnit
Getting StartedAdvanced Testing
Zend Framework 3
FundamentalsAdvanced
Azure PHP
Quick time to marketScale up and out
Security
Locking downweb apps
PHPBootcamp
PHP 7 fromZero to Hero
DevOps
Continuous Deployment
www.dragonbe.comT @DragonBe - F DragonBe