Name

stristr

Synopsis

string stristr(string string, string search)

Looks for search inside of string, using a case-insensitive comparison. Returns the portion of string from the first occurrence of search to the end of string. If search is not found, the function returns false. This function is a case-insensitive version of strstr( ).

Get Programming PHP 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.