public function n2c($x) //单个数字变汉字 { $string = ''; $str=(string)$x; $str=str_split($str); foreach($str as $v){ $arr_n = array("零","一","二","三","四","五","六","七","八","九","十"); $string .= $arr_n[$v]; } return $string; }
单个数字变汉字
最新推荐文章于 2023-12-21 17:50:05 发布