mirror of
https://github.com/php/php-src.git
synced 2026-04-13 02:52:48 +02:00
We make `shmop_close()` a NOP, and deprecate the function right away; detaching from SHM now happens when the wrapper object is freed.
19 lines
453 B
PHP
19 lines
453 B
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
final class Shmop {}
|
|
|
|
function shmop_open(int $key, string $flags, int $mode, int $size): Shmop|false {}
|
|
|
|
function shmop_read(Shmop $shmid, int $start, int $count): string|false {}
|
|
|
|
/** @deprecated */
|
|
function shmop_close(Shmop $shmid): void {}
|
|
|
|
function shmop_size(Shmop $shmid): int {}
|
|
|
|
function shmop_write(Shmop $shmid, string $data, int $offset): int|false {}
|
|
|
|
function shmop_delete(Shmop $shmid): bool {}
|