se numeste array multidimensional ..
Arrays.
Citat:
An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.
That means that, for example, we can store 5 values of type int in an array without having to declare 5 different variables, each one with a different identifier. Instead of that, using an array we can store 5 different values of the same type, int for example, with a unique identifier.
Citat:
Multidimensional arrays
Multidimensional arrays can be described as "arrays of arrays". For example, a bidimensional array can be imagined as a bidimensional table made of elements, all of them of a same uniform data type.
Adica un array intr-un array
Cod:
$array = array(
'elements_array' => array(
'first_element' => 'first_element_value',
'second_element' => 'second_element_value',
),
'planets_array' => array(
'Earth' => 'Home World',
'Pluto' => 'second-largest known dwarf planet'
),
'my_name?' => 'Bogdan',
);