mirror of
https://github.com/php/php-src.git
synced 2024-12-16 21:37:49 +08:00
68195bd481
Closes GH-6284.
53 lines
1.0 KiB
PHP
53 lines
1.0 KiB
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
class SplFixedArray implements IteratorAggregate, ArrayAccess, Countable
|
|
{
|
|
public function __construct(int $size = 0) {}
|
|
|
|
/** @return void */
|
|
public function __wakeup() {}
|
|
|
|
/** @return int */
|
|
public function count() {}
|
|
|
|
/** @return array */
|
|
public function toArray() {}
|
|
|
|
/** @return SplFixedArray */
|
|
public static function fromArray(array $array, bool $preserveKeys = true) {}
|
|
|
|
/** @return int */
|
|
public function getSize() {}
|
|
|
|
/** @return bool */
|
|
public function setSize(int $size) {}
|
|
|
|
/**
|
|
* @param int $index
|
|
* @return bool
|
|
*/
|
|
public function offsetExists($index) {}
|
|
|
|
/**
|
|
* @param int $index
|
|
* @return mixed
|
|
*/
|
|
public function offsetGet($index) {}
|
|
|
|
/**
|
|
* @param int $index
|
|
* @return void
|
|
*/
|
|
public function offsetSet($index, mixed $value) {}
|
|
|
|
/**
|
|
* @param int $index
|
|
* @return void
|
|
*/
|
|
public function offsetUnset($index) {}
|
|
|
|
public function getIterator(): Iterator {}
|
|
}
|