作者serveto (yingshow)
看板PHP
标题[请益] 这也是阵列吗
时间Mon Aug 9 16:07:14 2010
function determine_random_possible_value($possible,$cell){
return $possible[$cell][rand(0,count($possible[$cell])-1)];
}
--
为何$possible後有两个[]?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.44.131.38
1F:推 bigair:二维阵列 08/09 16:13