note 93208 deleted from function.strcmp by danbrown

From: Date: Fri, 28 Aug 2009 17:56:49 +0000
Subject: note 93208 deleted from function.strcmp by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159997@lists.php.net to get a copy of this message
Note Submitter: Ryan C. ---- Seems like the description of strcmp is wrong. Quoted: Note that this comparison is CASE SENSITIVE. But in my code: <?php if (strcmp('abcde', 'ABCDE')) die(EQUAL); else die(NOTEQUAL); ?> it gives the result EQUAL. Same goes to the description of strcasecmp.

« previous php.notes (#159997) next »