msg_get_queue
msg_get_queue
Create or attach to a message queue
**msg_get_queue** int $key int $permissions
returns an id that can be used to
access the System V message queue with the given
. The first call creates the message queue with
the optional .
A second call to for the same
will return a different message queue
identifier, but both identifiers access the same underlying message
queue.
msg_get_queue``key``permissions``msg_get_queue``key
keyMessage queue numeric ID
permissions
Queue permissions. Default to 0666. If the message queue already
exists, the will be ignored.
permissions
Returns instance that can be used to access the System V message queue,
return.falseforfailure.
SysvMessageQueue
msg_remove_queue``msg_receive``msg_send``msg_stat_queue``msg_set_queue