imap_num_recent

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

imap_num_recentGets the number of recent messages in current mailbox

Опис

imap_num_recent(IMAP\Connection $imap): int

Gets the number of recent messages in the current mailbox.

Параметри

imap

Примірник IMAP\Connection.

Значення, що повертаються

Returns the number of recent messages in the current mailbox, as an integer.

Журнал змін

Версія Опис
8.1.0 Тепер параметр imap має бути примірником IMAP\Connection; раніше очікувався дійсний resource imap.

Прогляньте також