and implemented." You are not compliant with PCI requirement 6.2 "Are all system components and software protected from known vulnerabilities by installing applicable vendor-supplied security patches?" PHP 5.6 and PHP 7.0 have reached their end of life No more security patches!
HTTP://WWW.ZEND.COM/EN/RESOURCES/PHP7_INFOGRAP HIC • DO YOUR OWN BENCHMARKING, BUT YOU'LL FIND IT IS FASTER • SUPPOSEDLY FASTER THAN RUBY, PYTHON, AND PERL
need for duck-typing: • Errors were previously different from Exceptions • Now they can both be handled sensibly and in a unified manner Improved error handling
are you with your automated ("unit") testing? Some code is not backwards compatible •Need to refactor your docker files •Or change your ansible scripts •Or deploy it manually Ops
might break •Engine errors are now exceptions •Errors are throwables, but not exceptions so might not be caught All constructors fail equally now (so any snowflake code you have is broken) mcrypt() is deprecated
ERROR HANDLER? 2. MADE SURE I'M NOT USING A REGISTERED SHUTDOWN FUNCTION? 3. MADE SURE THAT ANY FUNCTION THAT USED TO EXPECT AN EXCEPTION IS NOW EXPECTING A THROWABLE? 4. USED ANY OF THE PHP CLASSES THAT USED TO BEHAVE DIFFERENTLY WHEN A CONSTRUCTOR FAILED? 5. CHECKED THAT I'M CATCHING PARSEERROR WHENEVER I USE EVAL()? 6. REMOVED ANY REFERENCE TO E_STRICT?
HOW EASY IT IS TO SWAP PHP VERSIONS • AND WE'LL SEE THAT PHP7 IS FASTER • ACTUALLY DIFFICULT TO FIND A PROJECT THAT STILL RUNS ON PHP5.6 SO I JUST TOOK A SCRIPT THAT GOOGLE SUGGESTED AS A BENCHMARKING SCRIPT • PHP5 = 8 TRANSACTIONS • PHP7 = 28 TRANSACTIONS • HTTPS://GIST.GITHUB.COM/ANDYBEAK/DFD334CBFD16F2 5A142AC0C7FC4AAF7C