function number2Chinese($num, $m = 1) { switch($m) { case 0: $CNum = array( array('零','壹','贰','叁','肆','伍','陆','柒','捌','玖'), array('','拾','佰','仟'), array('','萬','億','萬億') ); break; default: $CNum = array( array('零','一','二','三','四','五','六','七','八','九')…