$array[0]="a"; $array[1]="b"; $array[2]="c"; $array[3]="d"; # 使用for loop印出陣列內每個元素的值。 for($i=0; $i<=$#array; $i++) { print "$array[$i]\n"; }
確定! 回上一頁