Note that the needle may be a string of one or more characters. You can use the php strcasecmp function for compare two strings case insensitive. This function is binary safe.