This is probably really simple, but I'm lazy today. Is there a way to compare strings while ignoring case?
Code:
$str1 = 'some text';
$str2 = 'Some Text';
if ($str1 == $str2){ ... } I want this to evaluate true. I know how to do it with regular expressions, but I was hoping for a quicker way.