加法
function jiafa($a
{
for($i=
{
$a++;
}
return $a;
}
//echo jiafa(
減法
function jianfa($a
{
$c=
while($b!=$a)
{
$b++;
$c++;
}
echo $c;
} // end func
//jianfa(
乘法
function chengfa($a
{
$c=
for($j=
{
$c=jiafa($c
}
return $c;
} // end func
//chengfa(
除法
function chufa($d
{
$k=
$f=
while($f<$d)
{
$k++;
$f=chengfa($e
}
return $k;
} // end func
echo chufa(
From:http://tw.wingwit.com/Article/program/PHP/201311/20916.html