[ Index ]

PHP Cross Reference of WordPress




/wp-includes/sodium_compat/src/PHP52/ -> SplFixedArray.php (summary)

(no description)

File Size: 187 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SplFixedArray:: (16 methods):

Class: SplFixedArray  - X-Ref

The SplFixedArray class provides the main functionalities of array. The
main differences between a SplFixedArray and a normal PHP array is that
the SplFixedArray is of fixed length and allows only integers within
the range as indexes. The advantage is that it allows a faster array

__construct($size = 0)   X-Ref
SplFixedArray constructor.

param: int $size

count()   X-Ref

return: int

toArray()   X-Ref

return: array

fromArray(array $array, $save_indexes = true)   X-Ref

param: array $array
param: bool $save_indexes
return: SplFixedArray

getSize()   X-Ref

return: int

setSize($size)   X-Ref

param: int $size
return: bool

offsetExists($index)   X-Ref

param: string|int $index
return: bool

offsetGet($index)   X-Ref

param: string|int $index
return: mixed

offsetSet($index, $newval)   X-Ref

param: string|int $index
param: mixed $newval

offsetUnset($index)   X-Ref

param: string|int $index

rewind()   X-Ref
Rewind iterator back to the start

since: 5.3.0
return: void

current()   X-Ref
Return current array entry

since: 5.3.0
return: mixed The current element value.

key()   X-Ref
Return current array index

return: int The current array index.

next()   X-Ref

return: void

valid()   X-Ref
Check whether the array contains more elements

return: bool true if the array contains any more elements, false otherwise.

__wakeup()   X-Ref
Do nothing.

Generated: Thu Jul 2 01:00:04 2020 Cross-referenced by PHPXref 0.7.1