PHP 4.0 Bug #9200: strtolower handle arrays in addition to strings

From: Date: Sat, 10 Feb 2001 00:29:38 +0000
Subject: PHP 4.0 Bug #9200: strtolower handle arrays in addition to strings
Groups: php.dev 
Request: Send a blank email to php-dev+get-46116@lists.php.net to get a copy of this message
From: ben@efros.com Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: strtolower handle arrays in addition to strings It would be nice to have strtolower() accept arrays as arguments (or just make a function such as ArrayToLower()). For example: $OUT["SomECapital"]="Whatever This Doesn't Matter"; echo $OUT["SomECapital"]; /* Works as expected */ $newOUT=strtolower($OUT); /* Currently the above line puts "Array" into $newOUT (like expected) , instead make this convert indexes with uppercase letters into lower case, so the line below would work and output the string "Whatever This Doesn't Matter" */ echo $newOUT["somecapital"]; -- Edit Bug report at: http://bugs.php.net/?id=9200&edit=1

« previous php.dev (#46116) next »