note 102835 modified in function.msg-queue-exists by danbrown
| From: | danbrown@php.net | Date: | Wed, 09 Mar 2011 14:34:58 +0000 |
| Subject: | note 102835 modified in function.msg-queue-exists by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177691@lists.php.net to get a copy of this message | ||
A simple script for checking what message queues are in use on a [presumably new] server
environment.
Run with php-cli
<?php
$k = 0;
while (true) {
echo $key,"...\r";
if (msg_queue_exists($key))
echo "\r",$key,'::Exists',"\n";
$key++;
}
?>
--was--
A simple script for checking what message queues are in use on a [presumably new] server
environment.
Run with php-cli
$k = 0;
while (true) {
echo $key,"...\r";
if (msg_queue_exists($key))
echo "\r",$key,'::Exists',"\n";
$key++;
}
http://php.net/manual/en/function.msg-queue-exists.php