Multibyte enabled version of strrpos().
Not all adapters must support interpreting - thus applying - passed
numeric values as ordinal values of a character. The Iconv adapter
doesn't support an offset as strpos() does - this constitutes the
lowest common denominator here.
public static strrpos ( string $haystack, string $needle, array $options = [] ) : integer | ||
$haystack | string | The string being checked. |
$needle | string | The string to find in the haystack. |
$options | array | Allows for selecting the adapter to use via the `name` options. Will use the `'default'` adapter by default. |
Результат | integer | Returns the numeric position of the last occurrence of the needle in the haystack string. If needle is not found, it returns `false`. |