map_create_ordered ([list list_1, list list_2, list list_3, ..., list list_N]) ⇒ map
Returns a new ordered map.
Alternative function names: map_create_ordered
First available: Version 1.6.8
Notes
Although this function normally generates a new empty ordered associative array, if parameters are given they will be used within the associative array. The parameters should be lists with two elements - the key and the value.
YASS
$a = map_create_ordered([77, "Jack"], [41, "Emma"], [98, "James"], [21, "Jamie"])
Version 1.9.9 switched from associative_array_create_ordered to map_create_ordered.

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days.
Comments powered by BalfComment