Basically I have the code:
echo strcasecmp('hello', ' ') ? 'true' : 'false';
I don’t quite understand, I’m expecting the result here to be false and not true because the string aren’t equal…
Is there another better way to compare strings in a case INSENSITIVE way?
From http://php.net/manual/en/function.strcasecmp.php
You need to do it like