mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
29f98e7485
Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
23 lines
558 B
PHP
23 lines
558 B
PHP
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
/**
|
|
* @strict-properties
|
|
* @not-serializable
|
|
*/
|
|
final class Shmop {}
|
|
|
|
function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
|
|
|
|
function shmop_read(Shmop $shmop, int $offset, int $size): string {}
|
|
|
|
#[\Deprecated(since: '8.0', message: 'as Shmop objects are freed automatically')]
|
|
function shmop_close(Shmop $shmop): void {}
|
|
|
|
function shmop_size(Shmop $shmop): int {}
|
|
|
|
function shmop_write(Shmop $shmop, string $data, int $offset): int {}
|
|
|
|
function shmop_delete(Shmop $shmop): bool {}
|