Ассоциативные массивы [PHP - Урок 14]

Материал Ассоциативные массивы [PHP - Урок 14]


ВИДЕО-УРОКИ PHP: Всё, что нужно знать о PHP. Самостоятельное обучение от простого к сложному. PHP - это мощный инструмент для создания сайтов любой сложности.
Ассоциативные массивы [PHP - Урок 14]
00:10:01
girpilius girpilius · 6 роликов
Подписаться на канал · 0 подписчиков
60 / 0
За ролик пока что никто не голосовал...
Комментарии (15)
sravan kumar #
: 0
thanks fro the video
Ovidiu Drobotă #
: 0
Wow! Extremely useful. I learned a lot from this video. Thanks to Alex Garett.
nickdj2474 #
: 0
Fast Array Access PHP
Nem0licious #
: 0
u can also use extract.
Husam Alrubaye #
: 0
Love that :D
Christian Petersen #
: 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 :-) 
Codecourse #
: 0
Efficient Fast Array Access with PHP
mantaz111 #
: 0
Awesome! I will start to use this now. :)
Sameer Nepali (Sam Rock) #
: 0
neat. thanks for the tip!
Tim Visée #
: 0
Brilliant, thanks! The support of this method also seems to be great, both PHP 4 and 5.
H0b0Gamers #
: 0
Interesting! Usually all my arrays have assoc array so I fetch everything with keys, but this is very useful!
Александр Сатретдинов #
: 0
Perfect way! Thanks a lot!
Chris Kruining #
: 0
thanks for this video!
Arnolds Kļavenieks #
: 0
That is nice, but usually the array is already with named keys. Especially if fetched from database.
Djangokillen #
: 0
Easy and flexible! Thanks.

Голосуем

Самый нужный компонент