Re: RFC Karma Request
| From: | David Rodrigues | Date: | Tue, 26 Jul 2016 20:09:51 +0000 |
| Subject: | Re: RFC Karma Request | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94715@lists.php.net to get a copy of this message | ||
Questions:
1.
Have you talked with this list about the terms of you suggestions?
(like str_begins, str_starts, strstarts, strbegins, str_ends,
strends...)
Is yes, sorry, I do not received this topic before.
2.
There some valid performance advantage over strpos()?
3.
And about the "market" for this new function?
I mean, about users really need a new function like it on core.
4.
And about the case sensitiblity?
Should have some function like stribegins() or will be an argument?
In general, I like this implementation, but I like to know about you
in this questions.
I don't know the policy about implements new functions on "str namespace".
Thanks!
2016-07-26 15:41 GMT-03:00 <will@wkhudgins.info>:
> Hello,
>
> I would like to submit an RFC for adding a str_begins and str_ends function,
> in relation to https://bugs.php.net/bug.php?id=67035 and
> https://bugs.php.net/bug.php?id=50434. I've added those
> functions on my
> local PHP copy. I would like to make an RFC and a PR for adding it to the
> core PHP copy.
>
> Thanks,
>
> Will
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
David Rodrigues