Bug #15286: ucwords doesn't work with capitalized string

From: Date: Tue, 29 Jan 2002 22:44:57 +0000
Subject: Bug #15286: ucwords doesn't work with capitalized string
Groups: php.dev 
Request: Send a blank email to php-dev+get-78477@lists.php.net to get a copy of this message
From: jim_ekleberry@hotmail.com Operating system: Win2K SP2 PHP version: 4.1.1 PHP Bug Type: Strings related Bug description: ucwords doesn't work with capitalized string $propercompany = ucwords("WOLF PACK TRADERS"); $propercompany should be "Wolf Pack Traders" I am running PHP v4.1.1 with: System Windows NT 5.0 build 2195 Build Date Dec 30 2001 Server API CGI Virtual Directory Support enabled Configuration File (php.ini) Path C:\WINNT\php.ini ZEND_DEBUG disabled Thread Safety enabled And using IIS 5.0 I know that this problem is mentioned in the documentation but I did not find an actual bug report when I searched the bug database to actually have it fixed. Jim Ekleberry -- Edit bug report at: http://bugs.php.net/?id=15286&edit=1

« previous php.dev (#78477) next »