michael,
@michael@thms.uk avatar

Got to say: Just been through upgrading an app from 8.1 to 8.3 and it's really nice and painfree.

Very few breaking changes, and the few that are there are stuff that a sensible person would've addressed a long time ago.

Unfortuantely that means that apart from readonly classes, there are also few exciting new things in there. But I guess these also are just point updates after all…

Almost boring 😉 (Not a bad thing! Stability is also nice.)

Crell,
@Crell@phpc.social avatar

@michael As a general rule, "well-behaved" code tends to upgrade very easily and quickly. Code that is not well-behaved... less so.

Mainly that's because older PHP versions allowed all sorts of stupid shit, and the list of allowed stupid shit has been steadily decreasing over the years. The less stupid shit your code does, the easier the upgrade process will be. 🙂

michael,
@michael@thms.uk avatar

@Crell yep I still got scars from when I upgraded my very first ever PHP application from 3 to 5. I was a kid when I started writing that app, so it definitely was full of stupid shit (still is, to be honest: always only ever stuck on band aids - the full rewrite is finally planned for later this year), so the upgrade was beyond hard.

But yeah, since then I’ve learned how to code properly (I think) so upgrades tend to be a lot simpler.

That first experience traumatised me for life though, so I’m still always scared when I start …

joby,
@joby@hachyderm.io avatar

@michael This is why I like PHP so much. There was a website I built in high school that launched in 2004 using the then-newfangled PHP 5. I occasionally did a little more work on for them to keep up to date whenever their host forced them to upgrade their PHP version, but it mostly just worked. They only turned that thing off in like 2022.

michael,
@michael@thms.uk avatar

@joby yep. I’ve also done another site recently from 7.x to 8.1 that was originally built in 3.x.

Similarly painless. But, to be fair, that one is a far simpler site!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines