clear
Operation: Empties the array's contents, freeing all memory reserved for the array
Supported Data types: array
int clear(array array)
Example: clear($myArray);
size
Operation: Returns the number of elements in an array or the number of characters in a string.
Supported Data types: array, string
int size(array array)
int size(string string)
array is the name of the array whose size you want.
string is the string whose number of characters you want.
Example: size($myArray)
sort
Operation: Returns an array sorted in alphabetical or ascending numerical order
Supported Data types: array
array sort(array array)
Example: sort($myArray)