PHP 4.0 Bug #8326: ucfirst() has no effect if input is ALL CAPITALIZED

From: Date: Wed, 20 Dec 2000 01:55:02 +0000
Subject: PHP 4.0 Bug #8326: ucfirst() has no effect if input is ALL CAPITALIZED
Groups: php.dev 
Request: Send a blank email to php-dev+get-41882@lists.php.net to get a copy of this message
From: vitaliyf@gameaholic.com Operating system: Linux PHP version: 4.0.3pl1 PHP Bug Type: Strings related Bug description: ucfirst() has no effect if input is ALL CAPITALIZED Running ucfirst() on a string which is already all capitalized has no effect: <?php print ucfirst("HELLO WORLD"); ?> will print "HELLO WORLD". The expected behavior here is probably to return "Hello World". -- Edit Bug report at: http://bugs.php.net/?id=8326&edit=1

« previous php.dev (#41882) next »