RFC: Add str_starts_with(), str_ends_with() and related functions

Project Governance
Author
Will Hudgins
PHP does not contain functions to test if a string begins or ends with a certain substring. This is currently possible using several other functions, but adding...

Do you want str_starts_with, str_starts_with_ci, str_ends_with, and str_ends_with_ci functions in PHP 7.4?

Overall Results

yes
no
yes
27 Votes (57%)
no
20 Votes (43%)

Voting Timeline

Dates based on UTC

Voting Breakdown

Do you want mb_str_starts_with, mb_str_starts_with_ci, mb_str_ends_with, and mb_str_ends_with_ci functions in PHP 7.4?

Overall Results

yes
no
yes
4 Votes (10%)
no
37 Votes (90%)

Voting Timeline

Dates based on UTC

Voting Breakdown