> in practice, nobody will use a hash function that returns a constant integer
How much do you want to bet on that?
How much do you want to bet on that?
Also fun read: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
Isn't it a rather safe bet since most people won't roll their own hash functions anyway.