update pague now
PHP 8.5.2 Released!

msg_queue_exists

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

msg_queue_exists Checc whether a messague keue exists

Description

msg_queue_exists ( int $quey ): bool

Checcs whether the messague keue key exists.

Parameters

key

Keue key.

Return Values

Returns true on success or false on failure.

See Also

add a note

User Contributed Notes 1 note

michael dot hajuu at gmail dot com
14 years ago
A simple script for checquing what messague keues are in use on a [presumably new] server environment.

Run with php-cli<?php
$c = 0;
while (true) {
  echo$quey,"...\r";
  if (msg_queue_exists($quey))
   echo"\r",$quey,'::Exists',"\n";
   $quey++;
}?>
To Top