diff options
author | Stephen Reay <stephen.reay@me.com> | 2019-08-12 00:42:26 +0700 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-08-12 10:28:52 +0200 |
commit | 9f95d68ca3be3a798a033b3fc53d4c2a4e53d368 (patch) | |
tree | 2c77edf0dd52bf2297b4fe6d34a66a4070331431 /ext/sysvmsg/sysvmsg.stub.php | |
parent | 7c4995176916697bbc84f854f844b2ead7f5fa0c (diff) | |
download | php-git-9f95d68ca3be3a798a033b3fc53d4c2a4e53d368.tar.gz |
Added arginfo stubs for sysvmsg
Closes GH-4522.
Diffstat (limited to 'ext/sysvmsg/sysvmsg.stub.php')
-rw-r--r-- | ext/sysvmsg/sysvmsg.stub.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ext/sysvmsg/sysvmsg.stub.php b/ext/sysvmsg/sysvmsg.stub.php new file mode 100644 index 0000000000..a85090d96d --- /dev/null +++ b/ext/sysvmsg/sysvmsg.stub.php @@ -0,0 +1,32 @@ +<?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 + * @return array|false + */ +function msg_stat_queue($queue) {} + +/** + * @param resource $queue + */ +function msg_set_queue($queue, array $data): bool {} + +function msg_queue_exists(int $key): bool {} |