On 11/22/2010 05:20 PM, Michael Torrie wrote:
> Basically I found the problem.  PHP is trying to cast my string
> as a number, and so any string is always equal to zero.  Brilliant.  PHP
> rocks!

Oddly enough, PHP developers are either calling this a bug or a feature,
and apparently I should have used the "===" operator to compare types as
well as value.  Shudder.


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to