<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.imap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.imap-expunge.php',
    1 => 'imap_expunge',
    2 => 'Delete all messages marked for deletion',
  ),
  'up' => 
  array (
    0 => 'ref.imap.php',
    1 => 'IMAP Функції',
  ),
  'prev' => 
  array (
    0 => 'function.imap-errors.php',
    1 => 'imap_errors',
  ),
  'next' => 
  array (
    0 => 'function.imap-fetch-overview.php',
    1 => 'imap_fetch_overview',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imap/functions/imap-expunge.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.imap-expunge" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_expunge</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">imap_expunge</span> &mdash; <span class="dc-title">Delete all messages marked for deletion</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.imap-expunge-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imap_expunge</strong></span>(<span class="methodparam"><span class="type"><a href="class.imap-connection.php" class="type IMAP\Connection">IMAP\Connection</a></span> <code class="parameter">$imap</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Deletes all the messages marked for deletion by 
   <span class="function"><a href="function.imap-delete.php" class="function">imap_delete()</a></span>, <span class="function"><a href="function.imap-mail-move.php" class="function">imap_mail_move()</a></span>, or
   <span class="function"><a href="function.imap-setflag-full.php" class="function">imap_setflag_full()</a></span>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.imap-expunge-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    <dt>
<code class="parameter">imap</code></dt><dd><p class="para">Примірник
<span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span>.</p></dd>
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.imap-expunge-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Завжди повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.imap-expunge-changelog">
  <h3 class="title">Журнал змін</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Версія</th>
      <th>Опис</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.1.0</td>
 <td>
  Тепер параметр <code class="parameter">imap</code> має бути примірником
  <span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span>; раніше очікувався дійсний <a href="language.types.resource.php" class="link">resource</a>
  <code class="literal">imap</code>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>

 
</div><?php manual_footer($setup); ?>