Thu 11 Jan 2007
I just spent the last hour debugging a script error, the cause turned out to be this little snippet written by yours truly:
if ($foobar = 1) {
skip();
}
Hey, why does everything skip? ARGHHHHHH!
Thu 11 Jan 2007
I just spent the last hour debugging a script error, the cause turned out to be this little snippet written by yours truly:
if ($foobar = 1) {
skip();
}
Hey, why does everything skip? ARGHHHHHH!
January 11th, 2007 at 10:57pm
This is why real languages warn you about conditionals on the result of an assignment.