There are currently 8,954 PHP questions.
There are 364 PHP5 tagged questions
There are 231 questions tagged with both PHP and PHP5

That's 63.5% of all PHP5 questions

So I suggest merging those 133 questions into PHP and deleting the PHP5 tag. There is already a PHP4 tag (albeit a small one) but that can be used to distinguish between legacy code and current code.

There are questions though that fall in the category of comparing versions of PHP 4 and 5 and upgrade questions from 4 to 5. But most of the questions I see are questions that are tagged PHP PHP5.

Same way that there is no python2 tag but there is python3.0 tag and a python tag. It's inconsistent.

Another example. There are 14 questions that are tagged PHP5 and PHP4 and they are all but 1 or 2 that are about compatibility issues / feature that was in the old version or migration from 4 to 5.


There are 7 questions that could pose a problem. Since they are tagged PHP4 PHP5 but not PHP

closed as off-topic by CRABOLO, Martijn Pieters, Monica Cellio, senshin, Aza Jan 18 '15 at 5:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question pertains only to a specific site in the Stack Exchange Network. Questions on Meta Stack Exchange should pertain to our network or software that drives it as a whole, within the guidelines defined in the help center. You should ask this question on the meta site where your concern originated." – CRABOLO, Martijn Pieters, Monica Cellio, senshin, Aza
If this question can be reworded to fit the rules in the help center, please edit the question.

  • (added counter-point question to my answer; thoughts?) – Marc Gravell Jul 5 '09 at 22:16

I've always been an advocate of broad tags and then version specific tags. That way a question could be tagged PHP (and be able to be quickly found through the interesting tags method by users who want to find it) and then also be tagged PHP4/5 so that more information concerning the specificity of the question can be ascertained quickly as well.

  • Counter point. PHP4 is legacy and unsupported by the PHP team. So having a specific tag for that would be useful. But since all supported code is PHP 5 code... then it's redundant. Same way that there is no python2 tag but there is python3.0 tag and a python tag. I would imagine the same thing to happen with PHP 6. – Ólafur Waage Jul 5 '09 at 21:43
  • Note. There actually is a PHP6 tag, but it has 8 questions. – Ólafur Waage Jul 5 '09 at 21:44
  • That's understandable. – TheTXI Jul 5 '09 at 21:44

I am against this. I agree with TheTXI that broad language tags and version specific tags are the way to go. For most questions we can get away with just doing php (or python) but sometimes the version is particularly relevant to a question and a tag like php5 is relevant (same with the python3.0 tag). Granted the php situation is a little different as PHP5 has been much more widely adopted than Python 3, but that doesn't mean that all questions that were once tagged PHP5 should be merged with PHP. Leave them as is.

I think this new feature that the moderators have to merge tags and such is neat but we shouldn't go trigger happy merging things that really don't need merging. It's not like tags are a precious resource we should be careful with. As long as tags are relevant to a question and not particularly redundant we should err on the side of caution.

  • After thinking about it more, i agree with that this is not a good idea. – Ólafur Waage Jul 6 '09 at 9:03

As #6 on the php list, it sounds like you're "in the know"; it depends in part, though, whether those questions really are php5-specific, or php5 just happens to be the version they're using... any gut feel?

As a counter-point; see this question; if we merged php5 into php, this would be tagged php+php4, making it sound like a php4 specific php question, when in fact it probably applies equally to both (or neither).

  • The thing is, I would like to go through the PHP5 questions that are not marked PHP. Since it's them we need to check for version specific things (like version comparing questions) – Ólafur Waage Jul 5 '09 at 21:58
  • How badly? I could try to restore the cc-wiki dump and query it... but it is a lot of effort... – Marc Gravell Jul 5 '09 at 22:02
  • I also would like to hear from other top 10 PHP users (like Cletus, since he's active here). – Ólafur Waage Jul 5 '09 at 22:02
  • @Marc I don't need that badly. Just if it was possible within the searches (in a way i didnt know of). – Ólafur Waage Jul 5 '09 at 22:04
  • That specific example has the migration tag, so there is a hint of PHP5 in there, but I see your point and it's a good one. And there are possible other cases where this could get obscure. – Ólafur Waage Jul 5 '09 at 22:18
  • Ólafur: Searching for anyword [php5] -[php] works, but you have to have some other term (anyword), or it goes to questions/tagged/.. Posted question about this: meta.stackexchange.com/questions/2613/… – dbr Jul 5 '09 at 22:23
  • I saw the question :) Thanks for posting it. Good suggestion. – Ólafur Waage Jul 5 '09 at 22:26
  • 1
    Apparently you can see these questions: stackoverflow.com/questions/tagged/php5%20-php – Ólafur Waage Jul 5 '09 at 22:33

I don't know much of PHP world so my answer will be in regards to Perl.
For Perl there will be 3 major tags, plus a minor one

  • perl  (usually referring to Perl5)
  • perl4 (largely outdated but still in use)
  • perl5 (current major version)
  • perl6 (Perl: new and improved)

Now currently, if you are talking about Perl, you are probably referring to Perl5, but I can see in the not so distant future that changing to referring to Perl6 instead.

There has been some discussion about whether we should be saying Perl5, were we would otherwise say Perl, because we want 'to get the word out' that we have a new version that is in the works. So we would probably want to change everything from being tagged perl, to be tagged perl5.

I should note that there is currently only one question tagged perl5, and it is also tagged perl.

Not the answer you're looking for? Browse other questions tagged .