Re: Associative array entries order differs from declaration
From:
Chet Ramey
Subject:
Re: Associative array entries order differs from declaration
Date:
Thu, 15 Aug 2019 11:36:27 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 8/15/19 11:26 AM, Léa Gris wrote:
> While dealing with getting keys of arrays, I found out that associative
> array keys where not registered in the same order as declared:
There's no guarantee that will happen. It's a hash table.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
signature.asc Description: OpenPGP digital signature