shmop.stub.php 495 B

12345678910111213141516171819202122
  1. <?php
  2. /** @generate-class-entries */
  3. /**
  4. * @strict-properties
  5. * @not-serializable
  6. */
  7. final class Shmop {}
  8. function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
  9. function shmop_read(Shmop $shmop, int $offset, int $size): string {}
  10. /** @deprecated */
  11. function shmop_close(Shmop $shmop): void {}
  12. function shmop_size(Shmop $shmop): int {}
  13. function shmop_write(Shmop $shmop, string $data, int $offset): int {}
  14. function shmop_delete(Shmop $shmop): bool {}