配列・2次元配列・繰り返し文

Array ( [0] => test [1] => 321000 [2] => 58 [3] => 日本語もいける )
Array ( [sato] => 235 [suzuki] => 一郎 [kato] => けんそう [shimizu] => 次郎長 )
配列$a[]の要素数: 4
$a[0] = test
$a[1] = 321000
$a[2] = 58
$a[3] = 日本語もいける
配列$b[]の要素数: 4
$b[sato] = 235
$b[sato] = 235
$b[suzuki] = 一郎
$b[suzuki] = 一郎
$b[kato] = けんそう
$b[kato] = けんそう
$b[shimizu] = 次郎長
$b[shimizu] = 次郎長
$c[0][0] = 0
$c[0][1] = 0
$c[0][2] = 0
$c[1][0] = 1
$c[1][1] = 1
$c[1][2] = 1
$c[2][0] = 2
$c[2][1] = 4
$c[2][2] = 8
$c[3][0] = 3
$c[3][1] = 9
$c[3][2] = 27

sample_func start!
$arg1[0] = test
$arg1[1] = 321000
$arg1[2] = 58
$arg1[3] = 日本語もいける
sample_func関数の返り値 : 4

←戻る