Reply to Re: Is $Settings['string'] An Example Of An Array?

Your name:

Reply:


Posted by Chung Leong on 11/03/05 00:26

MBS wrote:
> Greetings. I'm still pretty new to PHP and I have a question. I know that
> variables are preceeded by a "$" (dollar sign). Typically, a variable has
> one value, unless it is an array. Then it is essentially a pointer to
> numerous values sequential in memory. The code I'm looking at now is using
> the same variable name, but assigning a different "index" to it, if you
> will.
>
> For example, I see the following:
>
> $settings['use_default_images']
> $settings['doctype']
> $settings['theme_url']
>
> And many more.
>
> What is this feature called in PHP? I looked at the reference on php.net
> and it isn't anywhere to be found under arrays.

Arrays with string indices are called associative arrays or hash
tables. The term in VB-speak I believe is dictionary.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация