$array1 = array(10, 20, 30); #size1 = sizeof($array1); echo "Size of array1 = $size1
"; echo "\$array1[0] = $array1[0]
"; echo "\$array1[1] = $array1[1]
"; echo "\$array1[2] = $array1[2]
"; echo "
"; $score = array("Lee" => 100, "Kim" => 90, "Seo" => 80); $size2 = sizeof($score); echo "Size of score = $size2
"; echo "Lee = {Score["Lee"]}점
"; echo "Kim = {Score["Kim"]}점
"; echo "Seo = {Score["Seo"]}점
"; ?>