Войти

Второй товар

Категории:

Продаю Various Wallpaper Pack (14)
Associative array or hash maps are listings of key and value pairs with a posibility to nest additional keys and values. An associative array is a very powerful construct within PHP.

In our previous article we discussed simple arrays, which in their turn are indexed associative arrays under the hood. Take the following example:

$array = [
'apple',
'banana',
'chocolate',
];

But associative arrays can be so much more than just an indexed array, and you will find many database operations returning arrays where the fields of a table are the keys in the array while their values are also the values within the array.

Всего просмотров: 31, Сегодня: 1
Контакты

Оставить комментарий

Авторизация
*
*