25) $num = 25; $letter = self::$letters[$num]; if($case === "UPPER") $letter = strtoupper($letter); return $letter; } return $num; } public static function letterToNum($letter, $begain = 0){ $letter = strtolower($letter); $rs = array_keys(self::$letters, $letter, true); if($rs) $position = current($rs) + $begain; else $position = null; return $position; } public static function numToZh($num){ $len = count(self::$zhNums) - 1; $num = (int)$num; if($num < 0) $num = 0; if($num > $len) return null; return self::$zhNums[$num]; } }