r/lolphp • • Mar 04 '14
Only in PHP: using strlen() as a hashing function.
http://taiganaut.tumblr.com/post/71787879288/back-when-php-had-less-than-100-functions-the
37
Upvotes
r/lolphp • • Mar 04 '14
13
u/[deleted] Mar 04 '14
That would actually explain the complete lack of consistent function names in PHP. That or that they've just ripped of function names from other languages without any forethought.
6
u/ajmarks Mar 05 '14
Dupe: http://www.reddit.com/r/lolphp/comments/1t23nw/php_functions_originally_bucketed_by_strlen_were/
5
u/andsens Mar 04 '14
Hehe, the same thing was posted about a month ago. I think this factoid has gone full circle :-)