mirror of
https://github.com/php/doc-ja.git
synced 2026-03-23 22:52:11 +01:00
147 lines
4.1 KiB
XML
147 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: ca6054f609661c9d0513aad1e7db1d8fdf33bed8 Maintainer: takagi Status: ready -->
|
|
<section xmlns="http://docbook.org/ns/docbook" xml:id="expect.configuration">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
expect 拡張モジュールを設定するために、
|
|
<link linkend="configuration.file">設定ファイル</link> &php.ini; に
|
|
設定項目が用意されています。
|
|
<table>
|
|
<title>Expect &ConfigureOptions;</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody xml:id="expect.configuration.list">
|
|
<row>
|
|
<entry><link linkend="ini.expect.timeout">expect.timeout</link></entry>
|
|
<entry>"10"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.expect.loguser">expect.loguser</link></entry>
|
|
<entry>"1"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.expect.logfile">expect.logfile</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.expect.match-max">expect.match_max</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
&ini.php.constants;
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.expect.timeout">
|
|
<term>
|
|
<parameter>expect.timeout</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
データを待ち受ける際のタイムアウト時間です。
|
|
<function>expect_expectl</function> 関数で使用されます。
|
|
</simpara>
|
|
<simpara>
|
|
"-1" を指定すると、タイムアウトを発生させないようにします。
|
|
</simpara>
|
|
<note>
|
|
<simpara>
|
|
"0" を指定すると、<function>expect_expectl</function> 関数は
|
|
結果を直ちに返します。
|
|
</simpara>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.loguser">
|
|
<term>
|
|
<parameter>expect.loguser</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
expect が、子プロセスの出力を標準出力に送るかどうかを指定します。
|
|
典型的な対話型プログラムは入力した内容を表示するので、これを使用すれば
|
|
対話の両方の側を表示することができます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.logfile">
|
|
<term>
|
|
<parameter>expect.logfile</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
子プロセスの出力内容が書き込まれるファイルの名前。もしファイルが
|
|
存在しない場合は新しく作成されます。
|
|
</simpara>
|
|
<note>
|
|
<simpara>
|
|
この設置が空欄でなかった場合、
|
|
<link linkend="ini.expect.loguser">expect.loguser</link> の設定内容に
|
|
かかわらず出力が書き込まれます。
|
|
</simpara>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.match-max">
|
|
<term>
|
|
<parameter>expect.match_max</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パターン内のアスタリスクとのマッチに使うバッファのデフォルトサイズ
|
|
(2000 バイト) を変更します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</section>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|