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