February 2013
Intermediate to advanced
538 pages
20h 55m
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() will issue a warning, and the
key/value pair in question will not be included in the result.
array_flip() returns NULL on failure.
Read now
Unlock full access