I was told to ask for your feedback regarding the following PR I've opened:
The PR adds a $before_needle argument to
strrchr() that allows returning
part of the haystack before the occurrence of the needle. Similar functions
stristr() or its mb counterpart
mb_strrchr() already have
strrchr() seems to be the only one without it.
According to Jakub Zelenka, if no one objects, the PR can get merged.