php uppercase if in array code example
Example: php lowercase assoc array
array_walk($yourArray, function(&$value)
{
$value = strtolower($value);
});
array_walk($yourArray, function(&$value)
{
$value = strtolower($value);
});