[php-src] PR #11430: Add `$before_needle` argument to `strrchr()`
| From: | HypeMC | Date: | Sun, 11 Jun 2023 22:34:32 +0000 |
| Subject: | [php-src] PR #11430: Add `$before_needle` argument to `strrchr()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22713@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11430
Author: HypeMC
Similar function such as [
strstr()](https://www.php.net/manual/en/function.strstr.php),
[stristr()](https://www.php.net/manual/en/function.stristr.php) or it's mb
counterpart [mb_strrchr()](https://www.php.net/manual/en/function.mb-strrchr.php) all
have this parameter that allows returning part of the haystack before the occurrence of needle. This
function seems to be an exception.