Jon Hill wrote:
I am sure I read somewhere that doing the following

if (false === $variable)

was a better option than

if ($variable === false)

maybe it was a dream or is there something in this?

Jon

The later will give error if you mistakenly use single =, which can spare you frustration when you debug your script.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to