Semaphore 函数
PHP 手册

msg_queue_exists

(PHP 5 >= 5.3.0)

msg_queue_existsCheck whether a message queue exists

说明

bool msg_queue_exists ( int $key )

Checks whether the message queue key exists.

参数

key

Queue key.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


Semaphore 函数
PHP 手册