From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to