I know this wasn't your line of code, but I much prefer `===` to `==` because it tests strict equality (type and value) rather than trying type conversion before the equality.  It's worth it for that 1 in 1000 time that `==` doesn't do what you would expect.