ң

strcasecmp

(PHP 3>= 3.0.2, PHP 4)

strcasecmp - ޣ .

int strcasecmp (string str1, string str2)

< 0, str1 str2 ; > 0, str1 str2 , 0, .

1. strcasecmp()
$var1 = "Hello"; $var2 = "hello"; if (!strcasecmp($var1, $var2)) { echo '$var1 is equal to $var2 in a case-insensitive string comparison'; }

. ereg() , strcmp() , substr() , stristr() , strncasecmp() strstr() .


ң
str_rot13 strchr