Jump to content

Diamond Operator?


dfego

Recommended Posts

Hi, I've been recently given some code to edit, and I've encountered an operator I've not encountered before.  I can best describe it as the "diamond operator" and it looks like this: <>.  Unfortunately, a search engine doesn't help much, since "<>" doesn't really search for anything.  Its usage is like:

 

if ($myvar <> "test")

 

Does anyone have any idea what this is?  The only references I could find about any "diamond operator" were to Perl.

Link to comment
https://forums.phpfreaks.com/topic/47526-diamond-operator/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.