Ассоциативные массивы [PHP - Урок 14]
Материал Ассоциативные массивы [PHP - Урок 14]
ВИДЕО-УРОКИ PHP: Всё, что нужно знать о PHP. Самостоятельное обучение от простого к сложному. PHP - это мощный инструмент для создания сайтов любой сложности.
![Ассоциативные массивы [PHP - Урок 14]](/upload/video/thumbs/medium/a/4/7/3fb0bbae05ce72245d52f4b652f0606e.jpg)
00:10:01
Категория ролика: Уроки программирования
Ссылка на видео: https://cmsinstant.ru/video/associativnye-massivy-php-urok-14.html
Теги: урок, массивы, ассоциативные
Комментарии (15)

sravan kumar #
2014-11-09T20:39:00+03:00
:
0
thanks fro the video

2014-11-09T20:41:00+03:00
:
0
Wow! Extremely useful. I learned a lot from this video. Thanks to Alex Garett.

2014-11-09T20:41:00+03:00
:
0
Fast Array Access PHP

2014-11-09T20:43:00+03:00
:
0
u can also use extract.

2014-11-09T20:45:00+03:00
:
0
Love that :D

2014-11-09T20:48:00+03:00
:
0
The list() function is very useful indeed. But to be honest, this isn't the best example for beginners—as it's best to return a object of user and get member variables—I'd recommend people to use the list under certain circumstances:
- You're sure the order of values aren't going to change—for example an array of x, y & z points [0, 20, 10].
- You're sure that you have a defined length array
- When you know your data is an array and follows the above circumstances
I hope this helps you to know when to use the list function and when not to :-)
- You're sure the order of values aren't going to change—for example an array of x, y & z points [0, 20, 10].
- You're sure that you have a defined length array
- When you know your data is an array and follows the above circumstances
I hope this helps you to know when to use the list function and when not to :-)

2014-11-09T20:50:00+03:00
:
0
Efficient Fast Array Access with PHP

2014-11-09T20:50:00+03:00
:
0
Awesome! I will start to use this now. :)

2014-11-09T20:55:00+03:00
:
0
neat. thanks for the tip!

2014-11-09T20:55:00+03:00
:
0
Brilliant, thanks! The support of this method also seems to be great, both PHP 4 and 5.

2014-11-09T20:58:00+03:00
:
0
Interesting! Usually all my arrays have assoc array so I fetch everything with keys, but this is very useful!

2014-11-09T21:00:00+03:00
:
0
Perfect way! Thanks a lot!

2014-11-09T21:01:00+03:00
:
0
thanks for this video!

2014-11-09T21:06:00+03:00
:
0
That is nice, but usually the array is already with named keys. Especially if fetched from database.

2014-11-09T21:07:00+03:00
:
0
Easy and flexible! Thanks.