standard.net.curl.curl_strequal

curl_strequal is available since version 1.0.

Prototype:

number curl_strequal(string str1, string str2)

Parameters

str1
the first string
str2
the second string

Description:

Case insensitive string comparisons.

The curl_strequal() function compares the two strings str1 and str2, ignoring the case of the characters. It returns a non-zero (true) integer if the strings are identical.

Return value:

Non-zero if the strings are identical. Zero if they're not.