III. Array Functions

Table of Contents
array — Create an array
array_walk — Apply a user function to every member of an array.
arsort — Sort an array in reverse order and maintain index association
asort — Sort an array and maintain index association
count — count elements in a variable
current — return the current element in an array
each — return next key/value pair from an array
end — set internal pointer of array to last element
key — fetch a key from an associative array
ksort — Sort an array by key.
list — assign variables as if they were an array
next — advance the internal array pointer
pos — return the current element in an array
prev — rewind internal array pointer
range — Create an array containing a range of integers
reset — set internal pointer of array to first element
rsort — Sort an array in reverse order
shuffle — Shuffle an array
sizeof — get size of array
sort — Sort an array
uasort — Sort an array with a user-defined comparison function and maintain index association
uksort — Sort an array by keys using a user-defined comparison function
usort — Sort an array by values using a user-defined comparison function