3 ms·
we upgraded a 100k lines PHP 5 codebase to PHP 7.1 in a month. if your php 5 code wasn't using any deprecated extensions (like the old mysql extension) upgradin
by kyriakos 7y ago
we upgraded a 100k lines PHP 5 codebase to PHP 7.1 in a month. if your php 5 code wasn't using any deprecated extensions (like the old mysql extension) upgrading is really easy. there are static analysis tools that spot the potential problematic code so you don't need to do it by hand. from that point on if you got any automation testing or unit tests you can have a good level of confidence that your upgrade was a success.
- jonwinstanley 7y agoAgreed, we wanted to upgrade from 5.9 to 7.1 and once we got it working we fired up docker with 7.3 and it just worked. Glorious
- maxfromua 7y agoSorry, what is 5.9? You meant PHP 5.6?
- jonwinstanley 7y agoYes! Unsure where I got 5.9 from