Re: Re: foreach questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hit send too soon.  Sorry!

On Tue, January 1, 2008 2:05 pm, jekillen wrote:
>>> Several questions:
>>> How long can an index be in an associative array? (the indexes I
>>> use
>>> in this array are 32 character hashes)

As far as I know, it can be as big as your RAM will hold...

>>> Can it start with a number (since a hash can start with a number)

Yes.

A variable name cannot start with a number.

>>> Can I use $index as an array name? (I do not remember off hand what
>>> the reserved key words are)

You can use '$index' if you want, sure.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux