Re:PHP cheat: ==, ===, empty(),is_null(),isSet()
by time_management on Monday August 25, 2008 @09:49PM
(#286665)
This makes sense. I guess a programmer who does a string => bool type conversion desires different behavior than one who does string => int => bool, so the fact that they produce different results ("foo" => true vs. "foo" => 0 => false) is part of the design.
[ Parent
| on HN ]
There are no comments on this comment yet.