Jump to content

¡= and <>?


eduard
 Share

Recommended Posts

There is no difference."<>" was added because ASP (and VisualBasic in particular) uses that instead of "!=". To make it easier for VB programmers to learn PHP, they added that as a synonym for "!=".

Link to comment
Share on other sites

do you mean < or >?!= (not equal too, but typecasts)< (less then)> (greater then)
No, he seriously reffers to "<>". It's probably a recent addition. I didn't know about it either until now, but I can see why they added it.
Link to comment
Share on other sites

There is no difference."<>" was added because ASP (and VisualBasic in particular) uses that instead of "!=". To make it easier for VB programmers to learn PHP, they added that as a synonym for "!=".
Thanks for your explanation!
Link to comment
Share on other sites

"<>" was added because ASP (and VisualBasic in particular) uses that instead of "!=". To make it easier for VB programmers to learn PHP, they added that as a synonym for "!=".
SQL also uses <> to mean "not equal"
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...