mb_strripos
mb_strripos
Finds position of last occurrence of a string within another, case insensitive
**mb_strripos** string $haystack string $needle int $offset $encoding
performs multi-byte safe
operation based on
number of characters. position is
counted from the beginning of
. First character's position is
0. Second character position is 1.
Unlike ,
is case-insensitive.
mb_strripos``strripos``needle``haystack``mb_strrpos``mb_strripos
haystack
The string from which to get the position of the last occurrence
of .
needle
needle
The string to find in .
haystack
offset
May be specified to begin searching an arbitrary number of characters into
the . Negative values will stop searching at an arbitrary point
prior to the end of the .
haystack``haystack
encoding
Return the numeric position of
the last occurrence of in the
string, or false
if is not found.
needle``haystack``needle
-
If is greater than the length of , a will be thrown.
offset``haystack``ValueErrorstrripos``strrpos``mb_strrpos