We have a number of tags on the site for PHP minor releases. While it is true that PHP does not follow semantic versioning correctly and there are a number of differences between each version, I started to question the usefulness of these tags on Stack Overflow recently.
PHP 5 has reached its end of life in December 2018 and now with the release of PHP 8 the manual for PHP 5 will be archived. Anything before PHP 7.3 will no longer be supported and all existing development should upgrade as soon as possible to a supported release. [1]
People often misuse version tags by tagging only with the minor tag without the main php thus leaving the question to rot in the dark corners of the site. Usually, the tag has no significance other than it being the version OP is currently testing the software on. There are legitimate uses of version-tags e.g. asking about a new feature or a workaround for a removed feature.
We have currently following PHP tags:
- php4 332 questions
- php5 Synonym of php
- php-5.1 1 question
- php-5.2 247 questions
- php-5.3 1295 questions
- php-5.4 395 questions
- php-5.5 522 questions
- php-5.6 831 questions
- php-7 2626 questions
- php-7.0 88 questions
- php-7.1 507 questions
- php-7.2 706 questions
- php-7.3 300 questions
- php-7.4 201 questions
- php-8 12 questions
Suggested options:
- Leave the tags alone and continue creating new ones for PHP 8.1 and so on. This is unlikely to contribute to the quality of this site from what I have already observed.
- Leave only PHP major version tags. php5 is already gone so we would need to delink it from php and then merge minor tags into this one. This is likely to be even less useful than option 1 since tagging with the major version in PHP adds no information at all to the question. Minor versions differ so much that one tag for all PHP 5 version will serve no purpose. Same for PHP 7, 8 and so on.
- Merge all these tags into php but keep only the ones which have not reached its end of life yet. This will be a burden because each year we would need to merge one more tag into the main language tag. This will also not improve the site's quality in any way.
- Merge all PHP 5-* tags into php and keep PHP 7-* and 8 as is. Since PHP 5 is long gone and we expect almost 0 new questions to be asked about that release it would make sense to merge them all into the language tag. Once PHP 7 reaches its EOL we would do the same for PHP 7.
- Merge all these tags into php. I find it somewhat useful to follow questions tagged with PHP 8 or PHP 7.4 but only with these versions. These might be novel questions, which have not been asked on Stack Overflow yet. However, the version information can also be contained in the body of the question, but it would make it more difficult to follow.
What are your opinions how to deal with the minor PHP tags?