note 96706 rejected from function.strcasecmp by danbrown

From: Date: Fri, 12 Mar 2010 13:17:09 +0000
Subject: note 96706 rejected from function.strcasecmp by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166958@lists.php.net to get a copy of this message
Note Submitter: xuxingwang at gmail dot com ---- <?php printf("%d", strcasecmp("xuxingwang","Xuxingwang")); // print out 0 printf("%d", strncasecmp("xuxingwang","Xuxingwang")); // print out 0 printf("%d", strcmp("xuxingwang","Xuxingwang")); // print out 1 ?> So, are strcasecmp() and strncasecmp() case-censitive?

« previous php.notes (#166958) next »