Bug #1375: ucwords() doesn't like uppercase

From: Date: Mon, 03 May 1999 20:54:24 +0000
Subject: Bug #1375: ucwords() doesn't like uppercase
Groups: php.dev 
Request: Send a blank email to php-dev+get-5355@lists.php.net to get a copy of this message
From: graeme@kc.co.nz Operating system: Linux i386 + Win32 PHP version: 3.0.6 PHP Bug Type: Misbehaving function Bug description: ucwords() doesn't like uppercase ucwords() will not process capitilised strings e.g. $string = "HELLO THIS IS A TEST"; echo ucwords($string); does not work but converting the string to lowercase does work. $string = "HELLO THIS IS A TEST"; echo ucwords(strtolower($string)); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5355) next »