Hello,

is it possible to write a one-liner like this:

$uppercase = array("ONE", "TWO");
array_walk($uppercase, "strtolower");
print_r($uppercase);

I don't want to do a foreach-loop on each element, putting the lowercase in a new array and returning this. Is there a nicer way?

Regards
Marten

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to