On 29-06-19 17:53, w...@wkhudgins.info wrote: > How do people tend to feel about the "str_startswith" vs > "str_starts_with" naming convention? I've seen people propose both.
For best readability one should write '_' between separate words, just like a space would be used in regular text, IHMO. The PHP standard library already has a number of methods that are named that way, like str_word_count(). So, I would favor to have str_starts_with(). Regards, Dik Takken -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php