It is fascinating to read a snippet like this: the function hashing mechanism was strlen().
Yet PHP became ubiquitous.
Often "good enough", or even "barely working", trumps ... well, everything else, I guess?
Or rather, something else - like becoming the module installed everywhere makes the difference.
Perl had the same position in the short era just before PHP, when everything was CGI-scripts. ⊗