<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.zlib.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.deflate-add.php',
    1 => 'deflate_add',
    2 => 'Incrementally deflate data',
  ),
  'up' => 
  array (
    0 => 'ref.zlib.php',
    1 => 'Zlib İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'ref.zlib.php',
    1 => 'Zlib İşlevleri',
  ),
  'next' => 
  array (
    0 => 'function.deflate-init.php',
    1 => 'deflate_init',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/zlib/functions/deflate_add.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.deflate-add" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">deflate_add</h1>
  <p class="verinfo">(PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">deflate_add</span> &mdash; <span class="dc-title">Incrementally deflate data</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.deflate-add-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>deflate_add</strong></span>(<span class="methodparam"><span class="type"><a href="class.deflatecontext.php" class="type DeflateContext">DeflateContext</a></span> <code class="parameter">$context</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$data</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flush_mode</code><span class="initializer"> = <strong><code><a href="zlib.constants.php#constant.zlib-sync-flush">ZLIB_SYNC_FLUSH</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Incrementally deflates data in the specified context.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.deflate-add-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">context</code></dt>
    <dd>
     <p class="para">
      A context created with <span class="function"><a href="function.deflate-init.php" class="function">deflate_init()</a></span>.
     </p>
    </dd>
   
   
    <dt><code class="parameter">data</code></dt>
    <dd>
     <p class="para">
      A chunk of data to compress.
     </p>
    </dd>
   
   
    <dt><code class="parameter">flush_mode</code></dt>
    <dd>
     <p class="para">
      One of <strong><code><a href="zlib.constants.php#constant.zlib-block">ZLIB_BLOCK</a></code></strong>,
      <strong><code><a href="zlib.constants.php#constant.zlib-no-flush">ZLIB_NO_FLUSH</a></code></strong>,
      <strong><code><a href="zlib.constants.php#constant.zlib-partial-flush">ZLIB_PARTIAL_FLUSH</a></code></strong>,
      <strong><code><a href="zlib.constants.php#constant.zlib-sync-flush">ZLIB_SYNC_FLUSH</a></code></strong> (default),
      <strong><code><a href="zlib.constants.php#constant.zlib-full-flush">ZLIB_FULL_FLUSH</a></code></strong>, <strong><code><a href="zlib.constants.php#constant.zlib-finish">ZLIB_FINISH</a></code></strong>.
      Normally you will want to set <strong><code><a href="zlib.constants.php#constant.zlib-no-flush">ZLIB_NO_FLUSH</a></code></strong> to
      maximize compression, and <strong><code><a href="zlib.constants.php#constant.zlib-finish">ZLIB_FINISH</a></code></strong> to terminate
      with the last chunk of data. See the <a href="http://www.zlib.net/manual.html" class="link external">&raquo;&nbsp;zlib manual</a> for a
      detailed description of these constants.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.deflate-add-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns a chunk of compressed data,  başarısızlık durumunda <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.deflate-add-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   If invalid arguments are given, an error of level
   <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> is generated.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.deflate-add-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">context</code> expects a <span class="classname"><a href="class.deflatecontext.php" class="classname">DeflateContext</a></span>
       instance now; previously, a <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> was expected.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.deflate-add-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.deflate-init.php" class="function" rel="rdfs-seeAlso">deflate_init()</a> - Initialize an incremental deflate context</span></li>
  </ul>
 </div>


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