function slfjo($ht) { $a=$ht*8; $b=$a*9; return array($a,$b); //返回一个数组就行了 } 转载于:https://www.cnblogs.com/javaexam2/archive/2011/09/05/2632629.html