Hi Guys!
I have the following piece of code which should apply all functions to each item in the array and then serialize it. However, ucfirst() is not getting applied. All of the others are working except ucfirst(). Any ideas why?
if(!empty($_POST['language'])){
$languages = serialize(
array_map('strtolower',
array_map('trim',
array_map('ucfirst',
explode(",", $_POST['language'])))));
}