Should do what? Think through that logic now:
If string is equal to 'a' or string is not equal to 'b' and string is not equal to 'c' then ...
Well, if it is equal to 'a', it sure as heck won't equal 'b' or 'c' :rolleyes:
Read up on something called DeMorgan's Law. It's the distribution property for logic.
!($str == 'a' || $str == 'b' || $str == 'c') == ($str != 'a' && $str != 'b' && $str != 'c')