To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationmap_put

map_put (associative_array a, mixed key, mixed element) ⇒ associative_array

Adds an element, element, to the associative array, a with the key, key, and returns a new associative_array.

Alternative function names: associative_array_put
First available: Version 1.3.4

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.

Comments

There are no comments on this page.

New comment
Reply
Code previewClose
Feedback 👍
Comments are sent via email to me.