strchr

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

strchr --  Find the first occurrence of a character

Description

string strchr (string haystack, string needle)

This function is an alias for strstr(), and is identical in every way.