SAMConnection::peek(PECL sam >= 0.1.0) SAMConnection::peek — Read a message from a queue without removing it from the queue. ОписаниеСписок параметров
Возвращаемые значенияThis method returns a SAMMessage object or FALSE if an error occurs. Примеры
Пример #1 Retrieve the next message from a queue without removing it
<?php
Пример #2 Retrieve a specific message from a queue without removing it from the queue
<?php |
||||||||