Why did they add the new str_starts_with function to PHP 8 but not give it an option to be case-insensitive?

后端 未结 0 1530
庸人自扰
庸人自扰 2020-11-27 19:11

https://www.php.net/str_starts_with

There is no parameter to change to make it case-insensitive.

There is also no stri_starts_with or similar.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题