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