SplFixedArray::setSize

(PHP 5 >= 5.3.0, PHP 7) Change the size of an array public int SplFixedArray::setSize ( int $size ) Change the size of an array to the new size of size. If size is less than the current array size, any values after the new size will be discarded. If size is greater than the current array size, the array will be padded with NULL values. Parameters: size The new array si

SplFixedArray::valid

(PHP 5 >= 5.3.0, PHP 7) Check whether the array contains more elements public bool SplFixedArray::valid ( void ) Checks if the array contains any more elements. Returns: Returns TRUE if the array contains any more elements, FALSE otherwise.

SplFixedArray::toArray

(PHP 5 >= 5.3.0, PHP 7) Returns a PHP array from the fixed array public array SplFixedArray::toArray ( void ) Returns a PHP array from the fixed array. Returns: Returns a PHP array, similar to the fixed array. Examples: SplFixedArray::toArray() example <?php $fa = new SplFixedArray(3); $fa[0] = 0; $fa[2] = 2; var_du

SplObjectStorage::attach

(PHP 5 >= 5.1.0, PHP 7) Adds an object in the storage public void SplObjectStorage::attach ( object $object [, mixed $data = NULL ] ) Adds an object inside the storage, and optionally associate it to some data. Parameters: object The object to add. data The data to associate with the object. Returns: No va

SplFixedArray::__wakeup

(PHP 5 >= 5.5.0, PHP 7) Reinitialises the array after being unserialised public void SplFixedArray::__wakeup ( void ) Reinitialises the array after being unserialised. Returns: No value is returned.

SplObjectStorage::addAll

(PHP 5 >= 5.3.0, PHP 7) Adds all objects from another storage public void SplObjectStorage::addAll ( SplObjectStorage $storage ) Adds all objects-data pairs from a different storage in the current storage. Parameters: storage The storage you want to import. Returns: No value is returned. Examp

SplFixedArray::key

(PHP 5 >= 5.3.0, PHP 7) Return current array index public int SplFixedArray::key ( void ) Returns the current array index. Returns: The current array index.

SplFixedArray::next

(PHP 5 >= 5.3.0, PHP 7) Move to next entry public void SplFixedArray::next ( void ) Move the iterator to the next array entry. Returns: No value is returned.

SplFixedArray::offsetExists

(PHP 5 >= 5.3.0, PHP 7) Returns whether the requested index exists public bool SplFixedArray::offsetExists ( int $index ) Checks whether the requested index index exists. Parameters: index The index being checked. Returns: TRUE if the requested index exists, otherwise FALSE

SplFixedArray::offsetSet

(PHP 5 >= 5.3.0, PHP 7) Sets a new value at a specified index public void SplFixedArray::offsetSet ( int $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.