Kristina D. H. Anderson wrote:
You're right that in PHP most of the comparison operators won't treat an empty string and NULL pulled out of a database as the same. I'm thinking back on a long history of using many languages and have to say that without sitting down and testing it out, I couldn't offhand make a list of what the behavior would be with, say, = vs == vs the new === in PHP5.
Precisely this issue is discussed in the PHundamental article http://www.nyphp.org/phundamentals/variableevaluation.php (which picks up a contemporaneous thread ;-).
-- ================= Michael Southwell Vice President, Education NYPHP TRAINING: http://nyphp.com/Training/Indepth _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php
