#19053 [NEW]: why strcasecmp and not stricmp

From: Date: Thu, 22 Aug 2002 16:52:48 +0000
Subject: #19053 [NEW]: why strcasecmp and not stricmp
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17573@lists.php.net to get a copy of this message
From: gdbjohnson@hotmail.com Operating system: Win2k PHP version: 4.2.0 PHP Bug Type: Feature/Change Request Bug description: why strcasecmp and not stricmp Probably not worth much of your time, but I was wondering why you didn't choose to name strcasecmp as stricmp, since it is more intuitive with your function naming scheme: ie: strstr : stristr strpos : strrpos etc. It's just that I didn't find strcasecmp until later. And "strcasecmp" almost implies a case-sensitive search, from the name itself. Just a thought. cheers, Greg -- Edit bug report at http://bugs.php.net/?id=19053&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19053&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19053&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19053&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19053&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19053&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19053&r=support Expected behavior: http://bugs.php.net/fix.php?id=19053&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19053&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19053&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19053&r=globals

« previous php.bugs (#17573) next »