dis-bench / src /php /php-src /ext /shmop /shmop.stub.php
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
558 Bytes
<?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 {}