Hi,

Hope everyone is doing alright. I just raised a new RFC (https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions , github patch: https://github.com/php/php-src/pull/5300) for adding str_starts_with and str_ends_with to PHP. I would like to open this RFC up to discussion.

I raised a similar RFC about 9 months ago (https://wiki.php.net/rfc/add_str_begin_and_end_functions) that was narrowly rejected. A major criticism of that RFC was the inclusion of case-insensitive versions of str_starts_with and str_ends_with. I have incorporated feedback from that experienced and narrowed the new RFC to only propose str_starts_with and str_ends_with.

Thanks,

Will

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

Reply via email to