I was unable to find this on php.net. Is the double equal sign (==) case sensitive when used to compare strings in PHP?
==
Yes, == is case sensitive. The easiest way for me is to convert to uppercase and then compare. In instance:
$var = "Hello"; if(strtoupper($var) == "HELLO") { echo "identical"; } else { echo "non identical"; }
I hope it works!