DJDominic Jäggi@dominicjaeggi·Nov 91/2ab8bf63TIL why PHP function names are so inconsistent (strlen vs str_replace). In 1994, Rasmus Lerdorf used strlen() as his actual hash function. He added or removed underscores just to balance the hash buckets by character count.1Quote
Dominic Jäggi@dominicjaeggi·Nov 92/2cf8fb77Source: https://news-web.php.net/php.internals/70691news-web.php.netphp.internals: Re: Flexible function naming19:52 · Nov 9, 2026 · commit cf8fb771QuoteReply