<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'expect.configuration.php',
    1 => '実行時設定',
    2 => '実行時設定',
  ),
  'up' => 
  array (
    0 => 'expect.setup.php',
    1 => 'インストール/設定',
  ),
  'prev' => 
  array (
    0 => 'expect.installation.php',
    1 => 'インストール手順',
  ),
  'next' => 
  array (
    0 => 'expect.resources.php',
    1 => 'リソース型',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    '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">実行時設定</h2>
 <p class="simpara">
<var class="filename">php.ini</var> の設定により動作が変化します。
</p>
 <p class="para">
  expect 拡張モジュールを設定するために、
  <a href="configuration.file.php" class="link">設定ファイル</a> <var class="filename">php.ini</var> に
  設定項目が用意されています。
  <table class="doctable table">
   <caption><strong>Expect 設定オプション</strong></caption>
   
    <thead>
     <tr>
      <th>名前</th>
      <th>デフォルト</th>
      <th>変更可能</th>
      <th>変更履歴</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><a href="info.constants.php#constant.ini-all">INI_ALL</a></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><a href="info.constants.php#constant.ini-all">INI_ALL</a></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><a href="info.constants.php#constant.ini-all">INI_ALL</a></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><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  INI_* モードの詳細および定義については
<a href="configuration.changes.modes.php" class="xref">どこで設定を行うのか</a> を参照してください。
 </p>

 <p class="para">以下に設定ディレクティブに関する
簡単な説明を示します。</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">
     データを待ち受ける際のタイムアウト時間です。
     <span class="function"><a href="function.expect-expectl.php" class="function">expect_expectl()</a></span> 関数で使用されます。
    </span>
    <span class="simpara">
     &quot;-1&quot; を指定すると、タイムアウトを発生させないようにします。
    </span>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <span class="simpara">
      &quot;0&quot; を指定すると、<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">
     expect が、子プロセスの出力を標準出力に送るかどうかを指定します。
     典型的な対話型プログラムは入力した内容を表示するので、これを使用すれば
     対話の両方の側を表示することができます。
    </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">
     子プロセスの出力内容が書き込まれるファイルの名前。もしファイルが
     存在しない場合は新しく作成されます。
    </span>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <span class="simpara">
      この設置が空欄でなかった場合、
      <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">
     パターン内のアスタリスクとのマッチに使うバッファのデフォルトサイズ
     (2000 バイト) を変更します。
    </span>
   </dd>
  

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