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