Predefined function reference

map_put

A reference entry for map_put

Predefined function · maps

map_put (map a, mixed k, mixed c) ⇒ map

Adds a value, v, to the map, a with the key, k.

Alternative function names: associative_array_put

Notes

Version 1.4.2 dropped the alternative name assoc_put and added the map_put alternative name.

Version 1.9.9 switched from associative_array_put to map_put.