[UPHPU] grab named index by position
Wade Preston Shearer
wadeshearer.lists at me.com
Wed Nov 25 21:54:19 MST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3392 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20091125/d57d4b3f/attachment.bin
More information about the UPHPU
mailing list