>>851
for ($i = 0;$i < 10; $i++){
if(fmod($i,2))
$test[$i] = $i;
}
echo count($test);

//$test[1] = 1,$test[3] =3,$test[5]=5......
//5
となるはず(たぶん)