Quote:
Originally Posted by Chompy
darn, I forgot to mention,
I wanted to know the different beetween doing
that in an statement, like
PHP Code:
if (foo = bar) {
instead of
if (foo == bar) {
I have been wondering about that in a while, since I couldn't find it out,
so I decided to post a thread about it, but oh well..
|
Technically speaking, there are NO difference.
See:
http://forums.graalonline.com/forums...ad.php?t=66825
Basically, (foo = bar) is allowed for people who don't know better at the expense of others.
