In the following example, sometimes $var
can be "Value", "value" or even "VALUE".
switch ( $var ) {
case "value":
// Value and VALUE don't seem to match here.
break;
}
The comparison seems to be case sensitive (only the all-lowercase "value" matches). Is there a way to perform a case-insensitive comparison?