Re: Why hashtable keeps insertion order by default ?

From: Date: Sat, 03 Jun 2017 08:35:24 +0000
Subject: Re: Why hashtable keeps insertion order by default ?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-99335@lists.php.net to get a copy of this message
Am 03.06.2017 um 10:31 schrieb Pawel Por:
AFAIK the hashtable in PHP by default keeps the order in which the elements are inserted. Could you please write me why it keeps the insertion order by default ? Thanks in advance for clarification. beause when you create a array ['a', 'b']; you don't want to get array('b', 'a')


« previous php.internals (#99335) next »