<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.rarentry.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'rarentry.getpackedsize.php',
    1 => 'RarEntry::getPackedSize',
    2 => 'Get packed size of the entry',
  ),
  'up' => 
  array (
    0 => 'class.rarentry.php',
    1 => 'RarEntry',
  ),
  'prev' => 
  array (
    0 => 'rarentry.getname.php',
    1 => 'RarEntry::getName',
  ),
  'next' => 
  array (
    0 => 'rarentry.getstream.php',
    1 => 'RarEntry::getStream',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/rar/rarentry/getpackedsize.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="rarentry.getpackedsize" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">RarEntry::getPackedSize</h1>
  <p class="verinfo">(PECL rar &gt;= 0.1)</p><p class="refpurpose"><span class="refname">RarEntry::getPackedSize</span> &mdash; <span class="dc-title">Get packed size of the entry</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-rarentry.getpackedsize-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>RarEntry::getPackedSize</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="simpara">
   Get packed size of the archive entry.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
    <span class="simpara">Note that on platforms with 32-bit longs (that includes Windows
    x64), the maximum size returned is capped at 2 GiB. Check the constant
    <strong><code><a href="reserved.constants.php#constant.php-int-max">PHP_INT_MAX</a></code></strong>.</span>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-rarentry.getpackedsize-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">Bu işlevin bağımsız değişkeni yoktur.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-rarentry.getpackedsize-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   Returns the packed size, or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>


  <div class="refsect1 changelog" id="refsect1-rarentry.getpackedsize-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>PECL rar 2.0.0</td>
      <td>
       This method now returns correct values of packed sizes bigger than 2 GiB
       on platforms with 64-bit <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>s and never
       returns negative values on other platforms.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-rarentry.getpackedsize-examples">
  <h3 class="title">Örnekler</h3>
  <div class="example" id="example-1">
   <p><strong>Örnek 1 <span class="methodname"><strong>RarEntry::getPackedSize()</strong></span> example</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />$rar_file </span><span style="color: #007700">= </span><span style="color: #0000BB">rar_open</span><span style="color: #007700">(</span><span style="color: #DD0000">'example.rar'</span><span style="color: #007700">) or die(</span><span style="color: #DD0000">"Failed to open Rar archive"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$entry </span><span style="color: #007700">= </span><span style="color: #0000BB">rar_entry_get</span><span style="color: #007700">(</span><span style="color: #0000BB">$rar_file</span><span style="color: #007700">, </span><span style="color: #DD0000">'Dir/file.txt'</span><span style="color: #007700">) or die(</span><span style="color: #DD0000">"Failed to find such entry"</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #DD0000">"Packed size of " </span><span style="color: #007700">. </span><span style="color: #0000BB">$entry</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getName</span><span style="color: #007700">() . </span><span style="color: #DD0000">" = " </span><span style="color: #007700">. </span><span style="color: #0000BB">$entry</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getPackedSize</span><span style="color: #007700">() . </span><span style="color: #DD0000">" bytes"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

  </div>
 </div>


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