Home > Quick Reference Library > Date and Time Functions
Array Functions
- count
- Count elements in a variable
- current
- Return the current element in an array
- each
- Return the current key and value pair from an array and advance the array cursor
- end
- Set the internal pointer of an array to its last element
- extract
- Import variables into the current symbol table from an array
- in_array
- Checks if a value exists in an array
- key
- Fetch a key from an associative array
- krsort
- Sort an array by key in reverse order
- ksort
- Sort an array by key
- list
- Assign variables as if they were an array
- natcasesort
- Sort an array using a case insensitive "natural order" algorithm
- natsort
- Sort an array using a "natural order" algorithm
- next
- Advance the internal array pointer of an array
- pos
- Alias of current()
- prev
- Rewind the internal array pointer
- range
- Create an array containing a range of elements
- reset
- Set the internal pointer of an array to its first element
- rsort
- Sort an array in reverse order
- shuffle
- Shuffle an array
- sizeof
- Alias of count()
