note 15470 added to function.strcasecmp

From: Date: Wed, 12 Sep 2001 15:15:44 +0000
Subject: note 15470 added to function.strcasecmp
Groups: php.notes 
Request: Send a blank email to php-notes+get-17936@lists.php.net to get a copy of this message
I am developing a web page in a system running PHP 3.0.7 and trying to get the strcasecmp() function to work. strcmp() works well, but when strcasecmp() is used it sorts by the length of the string rather than alphabetically! Any ideas on why this function is not being interpreted properly? It does work in a PHP 4 environment. http://www.php.net/manual/en/function.strcasecmp.php

« previous php.notes (#17936) next »