ArrayObject::uasort

(PHP 5 >= 5.2.0, PHP 7) Sort the entries with a user-defined comparison function and maintain key association public void ArrayObject::uasort ( callable $cmp_function ) This function sorts the entries such that keys maintain their correlation with the entry that they are associated with, using a user-defined comparison function. This is used mainly when sorting associative arrays where the actual element order is signi

ArrayObject::setIteratorClass

(PHP 5 >= 5.1.0, PHP 7) Sets the iterator classname for the ArrayObject. public void ArrayObject::setIteratorClass ( string $iterator_class ) Sets the classname of the array iterator that is used by ArrayObject::getIterator(). Parameters: iterator_class The classname of the array iterator to use when iterating over this object. Returns: No va

ArrayObject::setFlags

(PHP 5 >= 5.1.0, PHP 7) Sets the behavior flags. public void ArrayObject::setFlags ( int $flags ) Set the flags that change the behavior of the ArrayObject. Parameters: flags The new ArrayObject behavior. It takes on either a bitmask, or named constants. Using named constants is strongly encouraged to ensure compatibility for future versions. The available behavior

ArrayObject::serialize

(PHP 5 >= 5.3.0, PHP 7) Serialize an ArrayObject public string ArrayObject::serialize ( void ) Serializes an ArrayObject. Returns: The serialized representation of the ArrayObject. This function is currently not documented; only its argument list is available. Examples: ArrayObject::serial

ArrayObject::offsetUnset

(PHP 5 >= 5.0.0, PHP 7) Unsets the value at the specified index public void ArrayObject::offsetUnset ( mixed $index ) Unsets the value at the specified index. Parameters: index The index being unset. Returns: No value is returned. Examples: ArrayObject::offsetUnset() example

ArrayObject::offsetSet

(PHP 5 >= 5.0.0, PHP 7) Sets the value at the specified index to newval public void ArrayObject::offsetSet ( mixed $index, mixed $newval ) Sets the value at the specified index to newval. Parameters: index The index being set. newval The new value for the index. Returns: No value is returned.

ArrayObject::offsetGet

(PHP 5 >= 5.0.0, PHP 7) Returns the value at the specified index public mixed ArrayObject::offsetGet ( mixed $index ) Parameters: index The index with the value. Returns: The value at the specified index or NULL. Exception: Produces an E_NOTICE error message when the specified index does not exist.

ArrayObject::offsetExists

(PHP 5 >= 5.0.0, PHP 7) Returns whether the requested index exists public bool ArrayObject::offsetExists ( mixed $index ) Parameters: index The index being checked. Returns: TRUE if the requested index exists, otherwise FALSE Examples: ArrayObject::offsetExists() example

ArrayObject::natsort

(PHP 5 >= 5.2.0, PHP 7) Sort entries using a "natural order" algorithm public void ArrayObject::natsort ( void ) This method implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering". An example of the difference between this algorithm and the regular computer string sorting algorithms (used in ArrayObjec

ArrayObject::natcasesort

(PHP 5 >= 5.2.0, PHP 7) Sort an array using a case insensitive "natural order" algorithm public void ArrayObject::natcasesort ( void ) This method is a case insensitive version of ArrayObject::natsort. This method implements a sort algorithm that orders alphanumeric strings in the way a human being would while maintaining key/value associations. This is described as a "natural ordering". Returns: