php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
spl_fixedarray.stub.php
Go to the documentation of this file.
1<?php
2
4
6{
7 public function __construct(int $size = 0) {}
8
10 #[\Deprecated(since: '8.4', message: 'this method is obsolete, as serialization hooks are provided by __unserialize() and __serialize()')]
11 public function __wakeup(): void {}
12
13 public function __serialize(): array {}
14
15 public function __unserialize(array $data): void {}
16
18 public function count(): int {}
19
21 public function toArray(): array {}
22
24 public static function fromArray(array $array, bool $preserveKeys = true): SplFixedArray {}
25
27 public function getSize(): int {}
28
30 public function setSize(int $size): true {}
31
36 public function offsetExists($index): bool {}
37
42 public function offsetGet($index): mixed {}
43
48 public function offsetSet($index, mixed $value): void {}
49
54 public function offsetUnset($index): void {}
55
57
58 public function jsonSerialize(): array {}
59}
__construct(int $size=0)
__unserialize(array $data)
offsetSet($index, mixed $value)
static fromArray(array $array, bool $preserveKeys=true)
$data
Definition bench.php:6
$array
Definition test.php:58
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))