It's the same kind of typo error that is being caught with $foo = 2it's not the same.
is same asif ($foo = $bar)
which makes some sense. while$foo = $bar; if ($bar)
is same asif ($foo = 2)
which does not make much sense.$foo = 2 if (2)
In reply to Re: No warning when assiging to a variable
by vsespb
in thread No warning when assiging to a variable
by mikeraz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |