Re: RFC Posted for str_begins and str_ends functions
| From: | Sara Golemon | Date: | Mon, 01 Aug 2016 22:56:43 +0000 |
| Subject: | Re: RFC Posted for str_begins and str_ends functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94788@lists.php.net to get a copy of this message | ||
On Mon, Aug 1, 2016 at 3:52 PM, <will@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()
-Sara