1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/spl/spl_fixedarray.stub.php
Máté Kocsis f7fbc6333f Add more precise type info for stubs
Closes GH-6005
2020-09-01 16:35:56 +02:00

66 lines
1.3 KiB
PHP
Executable File

<?php
/** @generate-function-entries */
class SplFixedArray implements Iterator, 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 $save_indexes = 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) {}
/** @return void */
public function rewind() {}
/** @return mixed */
public function current() {}
/** @return int */
public function key() {}
/** @return void */
public function next() {}
/** @return bool */
public function valid() {}
}