I just happened to stumbled upon a piece of php code and could see author used <> to do a not equal to comparison:
if ($variable <> "") {
echo "Hello, I am having some value";
}
I have always used !=:
if ($variable != "") {
echo "Hello, I am having some value";
}
Are there any special circumstances, when I should use <> over !=?