On Tue, Aug 2, 2016 at 7:56 AM, Sara Golemon <poll...@php.net> wrote:
> On Mon, Aug 1, 2016 at 3:52 PM,  <w...@wkhudgins.info> wrote:
>> I recently emailed the group about submitting an RFC for str_begins() and
>> str_ends() functions. The RFC has now been officially submitted and is
>> viewable at:
>>
>> https://wiki.php.net/rfc/add_str_begin_and_end_functions
>>
> Feeling "meh" on it (neither for nor against), but I would consider
> consistency with other str*() functions by making case-insensitivity
> live in separate functions rather than as a parameter. e.g.
> str_begins(), str_ibegins(), str_ends(), end_iends()

+1 for having functions for case insensitivity.
I'm not sure if we should have "s". i.e. str_begin"s".

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to