php-src/ext/sysvmsg/sysvmsg.stub.php
2019-11-11 14:54:55 +01:00

30 lines
736 B
PHP

<?php
/** @return resource|false */
function msg_get_queue(int $key, int $perms = 0666) {}
/**
* @param resource $queue
*/
function msg_send($queue, int $msgtype, $message, bool $serialize = true, bool $blocking = true, &$errorcode = null): bool {}
/**
* @param resource $queue
*/
function msg_receive($queue, int $desiredmsgtype, &$msgtype, int $maxsize, &$message, bool $unserialize = true, int $flags = 0, &$errorcode = null): bool {}
/**
* @param resource $queue
*/
function msg_remove_queue($queue): bool {}
/** @param resource $queue */
function msg_stat_queue($queue): array|false {}
/**
* @param resource $queue
*/
function msg_set_queue($queue, array $data): bool {}
function msg_queue_exists(int $key): bool {}