DEV Community

Discussion on: What's New in PHP 8.1?

Collapse
 
thedevdrawer profile image
The Dev Drawer • Edited

I currently have 7.4+ installed on one of my local servers as well so it is not too much of a jump to PHP 8. However, it depends on how your code was written. There may be some functionality that does not work from PHP 7 to PHP 8, but I would assume most would.

If you are not sure of compatibility, I would recommend on running a staging server that has PHP 8 on it prior to moving a production server. This way you can test your current code base against any changes that may have occured.

Take a look at this migration guide:
php.net/manual/en/migration80.php

Note the deprecated and incompatible changes to see to see if you need to make any adjustments prior to switching.

Collapse
 
fabyo0 profile image
fabyo0

Thanks, I didn't have any problems with compatibility. I upgraded to php 8 version

Thread Thread
 
thedevdrawer profile image
The Dev Drawer

That is great. I hope you like 8 as much as I do.