Is it possible to grab a named index by position? My test is indicating not.

Example:

$things = array('food' => 'toast', 'location' => 'paris', 'mood' => 'happy');


echo $things['location']

…prints "paris"


echo $things[1];

…prints nothing

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to