<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/expect.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'expect.configuration.php',
    1 => 'Configuration &agrave; l\'ex&eacute;cution',
    2 => 'Configuration &agrave; l\'ex&eacute;cution',
  ),
  'up' => 
  array (
    0 => 'expect.setup.php',
    1 => 'Installation/Configuration',
  ),
  'prev' => 
  array (
    0 => 'expect.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'expect.resources.php',
    1 => 'Types de ressources',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/expect/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="expect.configuration" class="section">
 <h2 class="title">Configuration à l&#039;exécution</h2>
 <p class="simpara">Le comportement de ces fonctions est
affecté par la configuration dans le fichier <var class="filename">php.ini</var>.</p>
 <p class="para">
  Afin de configurer l&#039;extension expect, il y a des options de configuration
  dans le <a href="configuration.file.php" class="link">fichier de configuration</a> <var class="filename">php.ini</var>.
  <table class="doctable table">
   <caption><strong>Options de configuration Expect</strong></caption>
   
    <thead>
     <tr>
      <th>Nom</th>
      <th>Défaut</th>
      <th>Modifiable</th>
      <th>Historique</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="expect.configuration.php#ini.expect.timeout" class="link">expect.timeout</a></td>
      <td>&quot;10&quot;</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.php#ini.expect.loguser" class="link">expect.loguser</a></td>
      <td>&quot;1&quot;</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.php#ini.expect.logfile" class="link">expect.logfile</a></td>
      <td>&quot;&quot;</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.php#ini.expect.match-max" class="link">expect.match_max</a></td>
      <td>&quot;&quot;</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  Pour plus de détails sur les modes INI_*,
        reportez-vous à <a href="configuration.changes.modes.php" class="xref">O&ugrave; une directive de configuration peut &ecirc;tre modifi&eacute;e</a>.
 </p>

 <p class="para">Voici un éclaircissement sur
l&#039;utilisation des directives de configuration.</p>

 <dl>
  
   <dt id="ini.expect.timeout">
    <code class="parameter">expect.timeout</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <span class="simpara">
     La période de dépassement du temps pour l&#039;attente des données, lors
     de l&#039;utilisation de la fonction <span class="function"><a href="function.expect-expectl.php" class="function">expect_expectl()</a></span>.
    </span>
    <span class="simpara">
     Une valeur de &quot;-1&quot; désactive le dépassement de temps.
    </span>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <span class="simpara">
      Une valeur de &quot;0&quot; fait retourner immédiatement la fonction
      <span class="function"><a href="function.expect-expectl.php" class="function">expect_expectl()</a></span>.
     </span>
    </p></blockquote>
   </dd>
  

  
   <dt id="ini.expect.loguser">
    <code class="parameter">expect.loguser</code>
    <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
   </dt>
   <dd>
    <span class="simpara">
     Si expect devrait envoyer toutes les données de sortie à partir du
     démarrage du processus à stdout. Puisque les programmes interactifs
     affichent typiquement leur entrée, ceci suffit habituellement pour
     montrer les deux côtés de la conversation.
    </span>
   </dd>
  

  
   <dt id="ini.expect.logfile">
    <code class="parameter">expect.logfile</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     Nom du fichier, où la sortie à partir du démarrage du processus devrait
     être écrite. Si ce fichier n&#039;existe pas, il sera créé.
    </span>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <span class="simpara">
      Si cette configuration n&#039;est pas vide, la sortie est écrite peu importe
      la valeur de <a href="expect.configuration.php#ini.expect.loguser" class="link">expect.loguser</a>.
     </span>
    </p></blockquote>
   </dd>
  

  
   <dt id="ini.expect.match-max">
    <code class="parameter">expect.match_max</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <span class="simpara">
     Modifie la taille par défaut (2000 octets) du tampon
     utilisé pour faire correspondre les astérisques dans
     le masque.
    </span>
   </dd>
  

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