ID: 9200 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: linux PHP Version: 4.0.4pl1 New Comment:
you can use array_map() to apply a function to an array like this. Previous Comments: ------------------------------------------------------------------------ [2001-02-09 19:29:38] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=9200&edit=1
