Re: parsing select multiple="multiple"

From: Date: Thu, 21 Feb 2013 14:46:54 +0000
Subject: Re: parsing select multiple="multiple"
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-320276@lists.php.net to get a copy of this message
I *have* heard claims that something like this is preferrable, though: if (FALSE === $variable) I believe I read a comment somewhere once that writing your IF statements that way helped to trigger an error message when the coder forgot to use the double equal sign (==) in the statement. I haven't adopted it yet, but I think that's the sole reason for it. Basically you can't make an assignment (=) to a constant or some non-variable target.


« previous php.general (#320276) next »