# [RFC] [VOTE] str_contains is accepted

- Thread: https://externals.io/message/109050
- Original archive: https://news-web.php.net/php.internals/109050
- Started by Philipp Tanlak on 2020-03-16T09:42:23+00:00
- Messages: 3
- RFC: str_contains (Implemented (PHP 8.0)) — https://externals.io/rfc/str_contains.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #109050 — Philipp Tanlak — 2020-03-16T09:42:23+00:00

URL: https://externals.io/message/109050#109050

Hello internals!

Two weeks have passed since the voting on the str_contains RFC started.
https://wiki.php.net/rfc/str_contains
With a result of 43 (Yes) to 9 (No), the RFC was accepted and the voting
phase has been closed.

If there are no issues with the implementation, the change can be merged
into the PHP source.
https://github.com/php/php-src/pull/5179
<https://wiki.php.net/rfc/str_contains>
Kind regards
Philipp Tanlak

---

## #109074 — Guilliam Xavier — 2020-03-16T17:59:34+00:00

URL: https://externals.io/message/109050#109074 · In reply to: #109050

On Mon, Mar 16, 2020 at 10:43 AM Philipp Tanlak
<philipp.tanlak@gmail.com> wrote:
>
> Hello internals!
>
> Two weeks have passed since the voting on the str_contains RFC started.
> https://wiki.php.net/rfc/str_contains
> With a result of 43 (Yes) to 9 (No), the RFC was accepted and the voting
> phase has been closed.
>
> If there are no issues with the implementation, the change can be merged
> into the PHP source.
> https://github.com/php/php-src/pull/5179
> <https://wiki.php.net/rfc/str_contains>
> Kind regards
> Philipp Tanlak

Great! :) Now can we hope to have str_starts_with and str_ends_with in
PHP 8 too?

-- 
Guilliam Xavier

---

## #109075 — Ben Ramsey — 2020-03-16T18:17:18+00:00

URL: https://externals.io/message/109050#109075 · In reply to: #109074

> 
> 
> On Mon, Mar 16, 2020 at 10:43 AM Philipp Tanlak
> <philipp.tanlak@gmail.com> wrote:
> > […]
> 
> Great! :) Now can we hope to have str_starts_with and str_ends_with in
> PHP 8 too?



For reference: https://wiki.php.net/rfc/add_str_begin_and_end_functions
