xref: /PHP-8.4/ext/sysvshm/sysvshm.stub.php (revision 570d9b63)
1<?php
2
3/** @generate-class-entries */
4
5/**
6 * @strict-properties
7 * @not-serializable
8 */
9final class SysvSharedMemory
10{
11}
12
13function shm_attach(int $key, ?int $size = null, int $permissions = 0666): SysvSharedMemory|false {}
14
15function shm_detach(SysvSharedMemory $shm): bool {}
16
17function shm_has_var(SysvSharedMemory $shm, int $key): bool {}
18
19function shm_remove(SysvSharedMemory $shm): bool {}
20
21function shm_put_var(SysvSharedMemory $shm, int $key, mixed $value): bool {}
22
23function shm_get_var(SysvSharedMemory $shm, int $key): mixed {}
24
25function shm_remove_var(SysvSharedMemory $shm, int $key): bool {}
26