Question: are php associative arrays ordered?
Answer: An array in PHP is actually an ordered map. So yes, they are always ordered. Arrays are implemented as a hash table.