Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kosio-t23917yAs I remember there are some really fucked up functions with same names but order of arguments changed.
Really feel you😪 -
To be honest just letting it throw the exception helped to get through roughly ~95% of changes.
-
@ljiech believe me it's worth it, its such a blessing to finally be able to use php 7
-
harrizsb7297yI once migrate php 5.6 to 7.1 then give up, decide to keep the old version. And some times later rewrite everything with golang. Damn that was some relieve
-
hjk10156967y5.6 to 7 should not be that hard. Just fix all the deprecation notices from 5.6 while running in production or tests of you have those. That should solve 98 to 100% of your problems.
As for PHP 7 it's great unfortunately I'm the only one really using it at the moment. -
hjk10156967y@RAZERZ I meant here at work. I really love the strict type checking. Basically if the IDE says it's fine it works correctly (this is one of the joys of working with golang. If it compiles your likely golden)
Unfortunately we do a lot of Drupal 7 development so I try to make classes that are PHP 7 but with all the hook stuff going on it's just ugly anyway. -
C0D4669027yI use PHP7 for syntax / error checking but projects are currently 5.6 (mostly).
1 old graveyard is back on php5.1 😰
I can’t wait for the day thats got to be updated to 7 💩💩💩💩
Try migrate php5.3 with deprecated functions to php7 ..
rant