ZMQPoll::getLastErrors

(PECL zmq >= 0.5.0)

ZMQPoll::getLastErrorsGet poll errors

說明

public ZMQPoll::getLastErrors(): array

Returns the ids of the objects that had errors in the last poll.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns an array containing ids for the items that had errors in the last poll. Empty array is returned if there were no errors.