Is there a difference between the two statements:
if ($a == 'hello') { ... }
and
if ('hello' == $a) { ... }
I noticed that applications like Wordpress tend to use the latter, while I usually use the former.
It seems that I remember something, I once read something, giving excuses for the latter, but I can not remember the argument.
source share