<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.apcu.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.apcu-sma-info.php',
    1 => 'apcu_sma_info',
    2 => 'Retourne des informations sur l\'allocation de m&eacute;moire partag&eacute;e d\'APCu',
  ),
  'up' => 
  array (
    0 => 'ref.apcu.php',
    1 => 'APCu Fonctions',
  ),
  'prev' => 
  array (
    0 => 'function.apcu-key-info.php',
    1 => 'apcu_key_info',
  ),
  'next' => 
  array (
    0 => 'function.apcu-store.php',
    1 => 'apcu_store',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/apcu/functions/apcu-sma-info.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.apcu-sma-info" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">apcu_sma_info</h1>
  <p class="verinfo">(PECL apcu &gt;= 4.0.0)</p><p class="refpurpose"><span class="refname">apcu_sma_info</span> &mdash; <span class="dc-title">
   Retourne des informations sur l&#039;allocation de mémoire partagée d&#039;APCu
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.apcu-sma-info-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>apcu_sma_info</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$limited</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="simpara">
   Retourne des informations sur l&#039;allocation de mémoire partagée d&#039;APCu.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.apcu-sma-info-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">limited</code></dt>
    <dd>
     <span class="simpara">
      Lorsque la valeur <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> est passée (par défaut) à ce paramètre, la
      fonction <span class="function"><strong>apcu_sma_info()</strong></span> retourne des informations
      détaillées sur chaque segment.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.apcu-sma-info-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Un tableau de données sur l&#039;allocation de mémoire partagée ;
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> en cas d&#039;échec.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.apcu-sma-info-examples">
  <h3 class="title">Exemples</h3>
  <div class="example" id="example-1">
   <p><strong>Exemple #1 Un exemple avec <span class="function"><strong>apcu_sma_info()</strong></span></strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">apcu_sma_info</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>Résultat de l&#039;exemple ci-dessus est similaire à :</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
    [num_seg] =&gt; 1
    [seg_size] =&gt; 31457280
    [avail_mem] =&gt; 31448408
    [block_lists] =&gt; Array
        (
            [0] =&gt; Array
                (
                    [0] =&gt; Array
                        (
                            [size] =&gt; 31448408
                            [offset] =&gt; 8864
                        )

                )

        )

)</pre>
</div>
   </div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.apcu-sma-info-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li>
    <a href="apcu.configuration.php" class="link">Directives de configuration d&#039;APCu</a>
   </li>
  </ul>
 </div>


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