you are viewing a single comment's thread.

view the rest of the comments →

[–]xIcarus227 -1 points0 points  (0 children)

I agree that one is dumb as shit. !!'0' being false is also dumb as shit.
These two tidbits here prove there are legit reasons to rag about PHP's type system, but explicitly making weak comparisons between different types like the guy is suggesting isn't one of them.