サンプルコード
$value1 = array('あ', 'い', 'う') ;
print_r($value1) ;
Array
(
[0] => あ
[1] => い
[2] => う
)
$value2 = array(1 => 'か', 3 => 'き', 6 => 'く');
print_r($value2) ;
Array
(
[1] => か
[3] => き
[6] => く
)
$value3 = array( $value1, $value2 ) ;
print_r($value3) ;
Array
(
[0] => Array
(
[0] => あ
[1] => い
[2] => う
)
[1] => Array
(
[1] => か
[3] => き
[6] => く
)
)
$value4 = array('a'=>'あ', 'b'=>'い', 'c'=>'う') ;
print_r($value4) ;
Array
(
[a] => あ
[b] => い
[c] => う
)