Quote o' the day: All you really need to know about PHP
Posted on December 17, 2013 by Tommy McGuire
...according to my cow-orker, Jeff:
Well, there were other factors in play there. htmlspecialchars was a very early function. Back when PHP had less than 100 functions and the function hashing mechanism was strlen(). In order to get a nice hash distribution of function names across the various function name lengths names were picked specifically to make them fit into a specific length bucket. This was circa late 1994 when PHP was a tool just for my own personal use and I wasn't too worried about not being able to remember the few function names.
In other news, my favorite cocktail is tequila and tears.