I had to find a way to find a word within a php string and I got it, but I do not understand very well why. For example, would not it be easier to put == true before! == false? and what do we get exactly that is not false? Here is an example of a code that works perfectly.
$a = 'How are you?';
if (strpos($a, 'are') !== false) {
echo 'true';
}