xref: /PHP-8.0/ext/shmop/shmop.stub.php (revision 01b239b6)
1<?php
2
3/** @generate-function-entries */
4
5final class Shmop {}
6
7function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
8
9function shmop_read(Shmop $shmop, int $offset, int $size): string {}
10
11/** @deprecated */
12function shmop_close(Shmop $shmop): void {}
13
14function shmop_size(Shmop $shmop): int {}
15
16function shmop_write(Shmop $shmop, string $data, int $offset): int {}
17
18function shmop_delete(Shmop $shmop): bool {}
19