On top, we have a table of truth values that result when comparing values of different types in PHP. On bottom, we have a chart illustrating the strengths and weaknesses of the seventeen types of Pokémon. Is it crazy to wonder whether one might have influenced the other?
The former is a matrix of arbitrary values intended to produce convenience. The latter is a matrix of arbitrary values intended to produce fun. In my experience, neither achieves its goal. But both follow an arbitrary logic, strangely twisted through history and culture, that might someday make a good subject for a Ph.D. thesis. (Why does a non-empty string equate with integer zero? Why is Psychic strong against Poison?)