php-src/ext/shmop/shmop.stub.php
Tim Düsterhus 29f98e7485
Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-07-10 16:47:31 +02:00

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 {}