时间:2021-07-01 10:21:17 帮助过:30人阅读
function fo($a,$b,$cheng,$jia)
{
$cheng = $a*$b;
$jia = $a + $b;
}
function fo($a, $b, &$cheng, &$jia)
{
$cheng = $a*$b;
$jia = $a + $b;
}
function fo($a,$b,&$cheng,&$jia)
{
$cheng = $a*$b;
$jia = $a + $b;
}
fo(1,2,$cheng, $jia);
echo $cheng; // 2
echo $jia; // 3