Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106114 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32023 invoked from network); 29 Jun 2019 23:19:23 -0000 Received: from unknown (HELO lb3-smtp-cloud9.xs4all.net) (194.109.24.30) by pb1.pair.com with SMTP; 29 Jun 2019 23:19:23 -0000 Received: from [IPv6:2001:983:6fc5:1:d549:9168:4b79:d73b] ([IPv6:2001:983:6fc5:1:d549:9168:4b79:d73b]) by smtp-cloud9.xs4all.net with ESMTPA id hK5IhbMudAOfNhK5KhgaL8; Sat, 29 Jun 2019 22:36:36 +0200 To: will@wkhudgins.info, CHU Zhaowei Cc: 'Nikita Popov' , 'Ben Ramsey' , 'PHP internals' References: <8442f1fa5544b2ca03e7cebbc64e8e5c@wkhudgins.info> <683c5da474e13283030cac3d0c0ec080@wkhudgins.info> <2c37999d1e5372ae6ab48bfce5420796@wkhudgins.info> <2CF672F8-12F5-4D37-8B8C-591A6E695220@benramsey.com> <78034520cdb610d923e25d47ed718938@wkhudgins.info> <000a01d52e91$2a4b6f20$7ee24d60$@jhdxr.com> <93528f103c149b7c48e8f35914049d06@wkhudgins.info> Message-ID: <97884add-88fd-e09e-92c6-2c1b68c579f5@xs4all.nl> Date: Sat, 29 Jun 2019 22:36:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <93528f103c149b7c48e8f35914049d06@wkhudgins.info> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfGi8cq15oXY5CjSyxWxBkCtKbgRGjg2m0NmffOsVPvGTOliZgP988IVZU66wIQBO45Q3e6L3Wmcqosr4yFGdinKmpIe3P1UzfVsQ8t93UuEHPAonIaZ9 YE9UyrwHY+cJEJqXcJzw3ErBZ9aO68RGTsYZjuvXYm2EioNizuuRrUZVRna3N34kuHswDYgCmUanKzTdOjH3kaa1mcSohq8bDiSAZT+dI1ZYI+3PZDB3xXTS oR1ze1VWQwNO2QuHIp7sB9Qs9ZmZpg89fOLQk+r22ZysSi10PQl9hucCHQHoiHcbc7JFht/VqvKFMda6B/NIwwIix5kOjUCZSNWv26Xyba0lggkP+wwVJp2W usTmW+zfQOfjMPWMc6O+LDlJObU+Ww== Subject: Re: [PHP-DEV] [RFC] Desire to move RFC add_str_begin_and_end_functions to a vote From: d.takken@xs4all.nl (Dik Takken) On 29-06-19 17:53, will@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