I was wondering if someone can direct me in the right direction as to why my question was put on hold.

closed as off-topic by CRABOLO, Martijn Pieters, Azik, senshin, Aza Jan 23 '15 at 17:21

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, Azik, senshin, Aza
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    What is the actual practical problem you are trying to solve? – yannis Dec 5 '13 at 14:43
  • 8
    "Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise" – Shadow The Princess Wizard Dec 5 '13 at 14:43
  • 2
    If you really want to know, you should ask "is there any difference" between using the two operators. That has a simple factual answer. It may also give you some insight into how people choose which to use. – Kate Gregory Dec 5 '13 at 14:45
  • 6
    Though as it turns out (no surprise to me) that has been asked and answered already, and was listed in the related questions from your question: stackoverflow.com/questions/4294579/… I highly suspect this link was shown to you while you were typing your question. Had you clicked it, you would have learned what you wanted immediately and saved a lot of trouble. – Kate Gregory Dec 5 '13 at 14:47
  • 1
    One could also have voted to close it citing: There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. – devnull Dec 5 '13 at 14:47
  • 3
    One minor off-topic nitpick: could you please not start your titles on Stack Overflow with a tag-name? It's not necessary. Thanks. ;) – Bart Dec 5 '13 at 14:50
  • 10
    @KhanqueredPro This is everyone's site, assuming people remain civil (as in this case) it's not really appropriate to tell people to stop contributing – Richard Tingle Dec 5 '13 at 14:51
  • 7
    @KhanqueredPro you know, at first I didn't downvote you here. But seeing your attitude towards a rather friendly user who is only trying to help, I changed my mind. – Shadow The Princess Wizard Dec 5 '13 at 14:51
  • 2
    @KhanqueredPro Pro-tip: just let it go. Focus on this particular question of yours and ignore the rest. – Bart Dec 5 '13 at 14:52
  • @Bart thank you for the tip – Ahmad Khan Dec 5 '13 at 14:57

Your original question was:

I'm curios to know, why some would use <> instead of != ?

is it a preference style?

do other languages utilize this operator <> ?

thank you

Asking why people make a choice is subjective. There isn't a single correct answer – each person may have their own reasoning. Hence this was closed using the appropriate close reason.

Since the original closing, the question has been edited in a much more healthy direction:

What is the difference between using <> and != in PHP?

Do other languages utilize a similar <> operator?

This is now an objective concrete question that can be answered. If I were nit-picking, I'd point out the second sub-question is a little open-ended and vague, but it shouldn't be too hard to find a few mainstream languages that use that operator as an example.

  • your answer is spot on! but be careful about the reasons for downvotes on question - usually they reflect (or at least should be) no research shown, usefulness, and clearness – user221081 Dec 5 '13 at 14:53
  • 9
    however it is a dupe, so if it is reopened it should be closed as a dupe to be signpost to the existing question. – Kate Gregory Dec 5 '13 at 14:55
  • The second part is definitely too broad (in my opinion, at least). – Dukeling Dec 6 '13 at 16:42

The main reason is that the answers will reflect the opinions of the folk answering rather than anything factual.

See Jon Skeet's blog post on asking the perfect question.

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