php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplFixedArray Class Reference
Inheritance diagram for SplFixedArray:
IteratorAggregate ArrayAccess Countable JsonSerializable Traversable

Public Member Functions

 __construct (int $size=0)
 
 __wakeup ()
 
 __serialize ()
 
 __unserialize (array $data)
 
 count ()
 
 toArray ()
 
 getSize ()
 
 setSize (int $size)
 
 offsetExists ($index)
 
 offsetGet ($index)
 
 offsetSet ($index, mixed $value)
 
 offsetUnset ($index)
 
 getIterator ()
 
 jsonSerialize ()
 
- Public Member Functions inherited from ArrayAccess
 offsetExists (mixed $offset)
 
 offsetGet (mixed $offset)
 
 offsetSet (mixed $offset, mixed $value)
 
 offsetUnset (mixed $offset)
 

Static Public Member Functions

static fromArray (array $array, bool $preserveKeys=true)
 

Detailed Description

@generate-class-entries

Definition at line 5 of file spl_fixedarray.stub.php.

Constructor & Destructor Documentation

◆ __construct()

SplFixedArray::__construct ( int $size = 0)

Definition at line 7 of file spl_fixedarray.stub.php.

Member Function Documentation

◆ __serialize()

SplFixedArray::__serialize ( )

Definition at line 13 of file spl_fixedarray.stub.php.

◆ __unserialize()

SplFixedArray::__unserialize ( array $data)

Definition at line 15 of file spl_fixedarray.stub.php.

◆ __wakeup()

SplFixedArray::__wakeup ( )

@tentative-return-type

Definition at line 11 of file spl_fixedarray.stub.php.

◆ count()

SplFixedArray::count ( )

@tentative-return-type

Implements Countable.

Definition at line 18 of file spl_fixedarray.stub.php.

◆ fromArray()

static SplFixedArray::fromArray ( array $array,
bool $preserveKeys = true )
static

@tentative-return-type

Definition at line 24 of file spl_fixedarray.stub.php.

◆ getIterator()

SplFixedArray::getIterator ( )

@tentative-return-type

Implements IteratorAggregate.

Definition at line 56 of file spl_fixedarray.stub.php.

◆ getSize()

SplFixedArray::getSize ( )

@tentative-return-type

Definition at line 27 of file spl_fixedarray.stub.php.

◆ jsonSerialize()

SplFixedArray::jsonSerialize ( )

@tentative-return-type

Implements JsonSerializable.

Definition at line 58 of file spl_fixedarray.stub.php.

◆ offsetExists()

SplFixedArray::offsetExists ( $index)
Parameters
int$index@tentative-return-type

Definition at line 36 of file spl_fixedarray.stub.php.

◆ offsetGet()

SplFixedArray::offsetGet ( $index)
Parameters
int$index@tentative-return-type

Definition at line 42 of file spl_fixedarray.stub.php.

◆ offsetSet()

SplFixedArray::offsetSet ( $index,
mixed $value )
Parameters
int$index@tentative-return-type

Definition at line 48 of file spl_fixedarray.stub.php.

◆ offsetUnset()

SplFixedArray::offsetUnset ( $index)
Parameters
int$index@tentative-return-type

Definition at line 54 of file spl_fixedarray.stub.php.

◆ setSize()

SplFixedArray::setSize ( int $size)

@tentative-return-type

Definition at line 30 of file spl_fixedarray.stub.php.

◆ toArray()

SplFixedArray::toArray ( )

@tentative-return-type

Definition at line 21 of file spl_fixedarray.stub.php.


The documentation for this class was generated from the following file: