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

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::__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.

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

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

(PHP 5 >= 5.3.0, PHP 7) Rewind iterator back to the start public void SplFixedArray::rewind ( void ) Rewinds the iterator to the beginning. Returns: No value is returned.

SplFixedArray::offsetUnset

(PHP 5 >= 5.3.0, PHP 7) Unsets the value at the specified $index public void SplFixedArray::offsetUnset ( int $index ) Unsets the value at the specified index. Parameters: index The index being unset. Returns: No value is returned. Exception: Throws RuntimeException when index is outside the defined size of t

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.

SplFixedArray::offsetGet

(PHP 5 >= 5.3.0, PHP 7) Returns the value at the specified index public mixed SplFixedArray::offsetGet ( int $index ) Returns the value at the index index. Parameters: index The index with the value. Returns: The value at the specified index. Exception: Throws RuntimeException when index is outside the defined