array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.imap-bodystruct.php', 1 => 'imap_bodystruct', 2 => 'Read the structure of a specified body section of a specific message', ), 'up' => array ( 0 => 'ref.imap.php', 1 => 'IMAP Функції', ), 'prev' => array ( 0 => 'function.imap-body.php', 1 => 'imap_body', ), 'next' => array ( 0 => 'function.imap-check.php', 1 => 'imap_check', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imap/functions/imap-bodystruct.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

imap_bodystruct

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

imap_bodystructRead the structure of a specified body section of a specific message

Опис

imap_bodystruct(IMAP\Connection $imap, int $message_num, string $section): stdClass|false

Read the structure of a specified body section of a specific message.

Параметри

imap

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

message_num

The message number

section

The body section to read

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

Returns the information in an object, або false в разі помилки. For a detailed description of the object structure and properties see imap_fetchstructure().

Журнал змін

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

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