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 documentationassociative_array_flip

associative_array_flip (associative_array a) ⇒ associative_array

Flips the associative array a, turning keys into values and values into keys.

Alternative function names: map_flip
First available: Version


Version 1.4.2 dropped the alternative name assoc_flip and added the map_flip alternative name.

As of version 1.8.13, this is a reference function and will change the associative array directly.


There are no comments on this page.

New comment
Comments are sent via email to me.