Name

strripos

Synopsis

int strripos(string string, string search[, int offset])

Returns the position of the last occurrence of search in string using a case-insensitive search, or false if search is not found. If specified and positive, the search begins offset characters from the start of string. If specified and negative, the search begins offset characters from the end of string. This function is a case-insensitive version of strrpos().

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.