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::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::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::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::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::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::getIteratorClass

(PHP 5 >= 5.1.0, PHP 7) Gets the iterator classname for the ArrayObject. public string ArrayObject::getIteratorClass ( void ) Gets the class name of the array iterator that is used by ArrayObject::getIterator(). Returns: Returns the iterator class name that is used to iterate over this object. Examples: ArrayObject::getIteratorClass

ArrayObject::getIterator

(PHP 5 >= 5.0.0, PHP 7) Create a new iterator from an ArrayObject instance public ArrayIterator ArrayObject::getIterator ( void ) Create a new iterator from an ArrayObject instance. Returns: An iterator from an ArrayObject. Examples: ArrayObject::getIterator() example <?php $array = array('1' => 'one',           

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:

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