public static function normalizeKey($key) { return $key === null ? null : trim(str_replace([" ", "\t", "\n", "\r", "", "\v"], ['', '', '', '', '', ''], $key), '.'); }