xref: /php-src/ext/shmop/shmop.stub.php (revision 29f98e74)
1<?php
2
3/** @generate-class-entries */
4
5/**
6 * @strict-properties
7 * @not-serializable
8 */
9final class Shmop {}
10
11function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
12
13function shmop_read(Shmop $shmop, int $offset, int $size): string {}
14
15#[\Deprecated(since: '8.0', message: 'as Shmop objects are freed automatically')]
16function shmop_close(Shmop $shmop): void {}
17
18function shmop_size(Shmop $shmop): int {}
19
20function shmop_write(Shmop $shmop, string $data, int $offset): int {}
21
22function shmop_delete(Shmop $shmop): bool {}
23