|
PHP5中文手册
SAMConnection->peek()(No version information available, might be only in CVS) SAMConnection->peek() — Read a message from a queue without removing it from the queue. 说明SAMConnection
SAMMessage peek
( string $target
[, array $properties
] )
参数
返回值This method returns a SAMMessage object or FALSE if an error occurs. 范例
Example#1 Retrieve the next message from a queue without removing it
<?php
Example#2 Retrieve a specific message from a queue without removing it from the queue
<?php |