PHP 8.4.0 RC4 available for testing

imap_alerts

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_alertsReturns all IMAP alert messages that have occurred

说明

imap_alerts(): array|false

Returns all of the IMAP alert messages generated since the last imap_alerts() call, or the beginning of the page.

When imap_alerts() is called, the alert stack is subsequently cleared. The IMAP specification requires that these messages be passed to the user.

参数

此函数没有参数。

返回值

Returns an array of all of the IMAP alert messages generated or false if no alert messages are available.

参见

  • imap_errors() - Returns all of the IMAP errors that have occurred

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top