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?
$languages = serialize(