the road to php 7.1
TRANSCRIPT
THE ROAD TO PHP 7.1A PERSONAL STORY
OH “PHP 7”
Zeev Suraski (@zeevs)
DECEMBER 3, 2015A REVOLUTION STARTS
#GOPHP7
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?
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!!!
PRESENTING ON A SUBJECT IS THE BEST WAY TO BECOME AN EXPERT ON THAT SUBJECT.
Cal Evans (@CalEvans)
TWEETABLE QUOTE
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
NOT READY (YET)!
Let’s get to ready…
LET’S START THE ELIMINATION ROUND
mysqlnd_ms
DB ATK-FrameworkHTTP2
Net2
Drupal6
ereg_*mcrypt_*
mysql_*
CHANGE TAKES TIMETHE INCONVENIENT TRUTH
PHP 7.1AND THEN THERE WAS…
WE NEED TO STEP UP!
WHAT WE ALREADY DID
IMPROVE GOING FORWARD
▸ Elimination of non-compatible code
▸ Refactored code base
▸ Better understanding of our weaknesses
▸ Separation of responsibilities
ENTER THE “ARMOURY”
USE THE PHPORCE
#COMMUNITYWORKS
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
TO CHANGE IS DIFFICULT. NOT TO CHANGE IS FATAL.
William Pollard
TWEETABLE QUOTE
OUR RESULTTIME TO SHOW
THE NUMBERS
MEMORY
CPU
0 17,5 35 52,5 70
PHP 5.6 PHP 7.1
THE "GRAPH"
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 🎉
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