msg_queue_exists() is not working in web browser
echo " chk1 " ;
try {
echo " chk2 " ;
if (msg_queue_exists(12345)) {
echo " chk3 " ;
$key_t = msg_get_queue(12345);
}
echo " chk4 " ;
} catch (Exception $e) {
echo 'Caught exception: ', $e->getMessage(), “\n”;
}
echo " key ".$key_t;
When I am executing above code from browser, it prints only chk1 and chk2.
Seems program hanged after msg_queue_exists(). neither chk4 nor Caught exception printed in browser.
Can some please help…