class ChineseNumber
{
var $basical=array(0=>"零","一","二","三","四","五","六","七","八","九");
//var $basical=array(0=>"零","壹","贰","叁","肆","伍","陆","柒","捌","玖");
var $advanced=array(1=>"十","百","千");
//var $advanced=array(1=>"拾","佰","仟");
var $top=array(1=>"万","亿");
var $level; // 以4位为一级
// 先完成万一下的数的转换
function ParseNumber($number)
{
if ($number>999999999999) // 只能处置到千亿。
return "数字太大,没法处置。抱愧!";
if ($number==0)
return "零";