phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

837
active users

Matthew Weier O'Phinney

@Crell Depends on the context.

For a library, you have to keep it in place until your minimum supported PHP version matches where the resource class was introduced.

For an application, it depends on your migration strategy. Some will just jump to the new version; others will do stepped migrations, where code needs to run on both PHP versions before they can switch off the old version.