php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
spl_array.stub.php
Go to the documentation of this file.
1<?php
2
4
6{
8 public const int STD_PROP_LIST = UNKNOWN;
10 public const int ARRAY_AS_PROPS = UNKNOWN;
11
12 public function __construct(array|object $array = [], int $flags = 0, string $iteratorClass = ArrayIterator::class) {}
13
15 public function offsetExists(mixed $key): bool {}
16
18 public function offsetGet(mixed $key): mixed {}
19
21 public function offsetSet(mixed $key, mixed $value): void {}
22
24 public function offsetUnset(mixed $key): void {}
25
27 public function append(mixed $value): void {}
28
30 public function getArrayCopy(): array {}
31
33 public function count(): int {}
34
36 public function getFlags(): int {}
37
39 public function setFlags(int $flags): void {}
40
42 public function asort(int $flags = SORT_REGULAR): true {}
43
45 public function ksort(int $flags = SORT_REGULAR): true {}
46
48 public function uasort(callable $callback): true {}
49
51 public function uksort(callable $callback): true {}
52
54 public function natsort(): true {}
55
57 public function natcasesort(): true {}
58
60 public function unserialize(string $data): void {}
61
63 public function serialize(): string {}
64
66 public function __serialize(): array {}
67
69 public function __unserialize(array $data): void {}
70
73
75 public function exchangeArray(array|object $array): array {}
76
78 public function setIteratorClass(string $iteratorClass): void {}
79
81 public function getIteratorClass(): string {}
82
84 public function __debugInfo(): array {}
85}
86
88{
90 public const int STD_PROP_LIST = UNKNOWN;
92 public const int ARRAY_AS_PROPS = UNKNOWN;
93
94 public function __construct(array|object $array = [], int $flags = 0) {}
95
100 public function offsetExists(mixed $key): bool {}
101
106 public function offsetGet(mixed $key): mixed {}
107
112 public function offsetSet(mixed $key, mixed $value): void {}
113
118 public function offsetUnset(mixed $key): void {}
119
124 public function append(mixed $value): void {}
125
130 public function getArrayCopy(): array {}
131
136 public function count(): int {}
137
142 public function getFlags(): int {}
143
148 public function setFlags(int $flags): void {}
149
154 public function asort(int $flags = SORT_REGULAR): true {}
155
160 public function ksort(int $flags = SORT_REGULAR): true {}
161
166 public function uasort(callable $callback): true {}
167
172 public function uksort(callable $callback): true {}
173
178 public function natsort(): true {}
179
184 public function natcasesort(): true {}
185
190 public function unserialize(string $data): void {}
191
196 public function serialize(): string {}
197
202 public function __serialize(): array {}
203
209
211 public function rewind(): void {}
212
214 public function current(): mixed {}
215
217 public function key(): string|int|null {}
218
220 public function next(): void {}
221
223 public function valid(): bool {}
224
226 public function seek(int $offset): void {}
227
232 public function __debugInfo(): array {}
233}
234
236{
238 public const int CHILD_ARRAYS_ONLY = UNKNOWN;
239
241 public function hasChildren(): bool {}
242
245}
const SORT_REGULAR
const int ARRAY_AS_PROPS
__unserialize(array $data)
uksort(callable $callback)
unserialize(string $data)
append(mixed $value)
offsetSet(mixed $key, mixed $value)
offsetExists(mixed $key)
__construct(array|object $array=[], int $flags=0)
uasort(callable $callback)
offsetGet(mixed $key)
offsetUnset(mixed $key)
seek(int $offset)
setFlags(int $flags)
asort(int $flags=SORT_REGULAR)
ksort(int $flags=SORT_REGULAR)
const int STD_PROP_LIST
asort(int $flags=SORT_REGULAR)
unserialize(string $data)
__construct(array|object $array=[], int $flags=0, string $iteratorClass=ArrayIterator::class)
const int STD_PROP_LIST
offsetExists(mixed $key)
__unserialize(array $data)
ksort(int $flags=SORT_REGULAR)
append(mixed $value)
offsetUnset(mixed $key)
setFlags(int $flags)
exchangeArray(array|object $array)
uksort(callable $callback)
const int ARRAY_AS_PROPS
offsetGet(mixed $key)
uasort(callable $callback)
setIteratorClass(string $iteratorClass)
offsetSet(mixed $key, mixed $value)
$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))
object