4

php -r "var_dump(false=='false');"
Command line code:1:
bool(false)

Type juggling I love you

Comments
  • 2
    Well, I don't get it. What would you expect? true?!
  • 3
    This has nothing to do with type juggling
  • 0
    That's logical..
  • 0
    I'm sorry but what language has such a broken equivalence table that the string 'false' somehow equates to the boolean false?
  • 0
    @kescherRant Another reason for me to avoid it I guess :D
  • 0
    @kescherRant no, not even JS is that broken. But yeah, "==" doesn't exist in modern JS, anyway.
Add Comment