March 2002
Intermediate to advanced
528 pages
21h 29m
English
array_flip
array array_flip(array array)
Returns an array in which the elements’ keys are the
original array’s values, and vice versa. If multiple
values are found, the last one encountered is retained. If any of the
values in the original array are any type except strings and
integers, array_flip( ) returns
false.