Page 1 of 1

Alpha server migration to PHP8

Posted: 28 May 2024, 11:22
by thoun
Dear developers,

To continue the process of migrating to PHP8, we will soon switch the alpha server to PHP8.

What does it mean ?
If your alpha game is not compatible with PHP8, it will break on alpha. You'll need to make sure your game is compatible with PHP8 in order to continue the alpha testing.
Just as a reminder, being compatible with PHP8 is now a pre-requisite for alpha/beta request. So it will only break game that were released to alpha before this pre-requisite was added (added last week).

Does it mean I can use PHP8 specific code ?
Not yet, as some servers (beta/prod) are still in PHP7 to support games that are not yet compatible. Your game would work on alpha, but would break on some servers when reaching beta. We will make an announcement when the migration is over and you can safely use PHP8 code :wink:

I can't find how to make my alpha game compatible with PHP8
Most of the time, it's only the implode or static calls that will break. If you can't find how to fix it, I'll try to help you in the dedicated thread on the discord server.

Can I help you migrate to PHP8 faster? I want the new tools PHP8 offers
Sure! If you have beta/released games you maintain that don't have the PHP8 tag on production yet, make sure it is compatible and add the tag on production will help us on the migration process :slight_smile: