<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/features.commandline.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'features.commandline.options.php',
    1 => 'オプション',
    2 => 'コマンドラインオプション',
  ),
  'up' => 
  array (
    0 => 'features.commandline.php',
    1 => 'コマンドラインの使用法',
  ),
  'prev' => 
  array (
    0 => 'features.commandline.differences.php',
    1 => '他の SAPI との違い',
  ),
  'next' => 
  array (
    0 => 'features.commandline.usage.php',
    1 => 'PHP ファイルの実行',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'features/commandline.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="features.commandline.options" class="section">
  <h2 class="title">コマンドラインオプション</h2>
  
  
  <p class="para">
   PHP バイナリにより提供されるコマンドラインオプションの一覧は、
   <strong class="option unknown">-h</strong> スイッチを指定して PHP を実行することにより
   いつでも調べることができます。
   <div class="example-contents screen">
<div class="cdata"><pre>
Usage: php [options] [-f] &lt;file&gt; [--] [args...]
   php [options] -r &lt;code&gt; [--] [args...]
   php [options] [-B &lt;begin_code&gt;] -R &lt;code&gt; [-E &lt;end_code&gt;] [--] [args...]
   php [options] [-B &lt;begin_code&gt;] -F &lt;file&gt; [-E &lt;end_code&gt;] [--] [args...]
   php [options] -- [args...]
   php [options] -a

  -a               Run interactively
  -c &lt;path&gt;|&lt;file&gt; Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value &#039;bar&#039;
  -e               Generate extended information for debugger/profiler
  -f &lt;file&gt;        Parse and execute &lt;file&gt;.
  -h               This help
  -i               PHP information
  -l               Syntax check only (lint)
  -m               Show compiled in modules
  -r &lt;code&gt;        Run PHP &lt;code&gt; without using script tags &lt;?..?&gt;
  -B &lt;begin_code&gt;  Run PHP &lt;begin_code&gt; before processing input lines
  -R &lt;code&gt;        Run PHP &lt;code&gt; for every input line
  -F &lt;file&gt;        Parse and execute &lt;file&gt; for every input line
  -E &lt;end_code&gt;    Run PHP &lt;end_code&gt; after processing all input lines
  -H               Hide any passed arguments from external tools.
  -S &lt;addr&gt;:&lt;port&gt; Run with built-in web server.
  -t &lt;docroot&gt;     Specify document root &lt;docroot&gt; for built-in web server.
  -s               Output HTML syntax highlighted source.
  -v               Version number
  -w               Output source with stripped comments and whitespace.
  -z &lt;file&gt;        Load Zend extension &lt;file&gt;.

  args...          Arguments passed to script. Use -- args when first argument
                   starts with - or script is read from stdin

  --ini            Show configuration file names

  --rf &lt;name&gt;      Show information about function &lt;name&gt;.
  --rc &lt;name&gt;      Show information about class &lt;name&gt;.
  --re &lt;name&gt;      Show information about extension &lt;name&gt;.
  --rz &lt;name&gt;      Show information about Zend extension &lt;name&gt;.
  --ri &lt;name&gt;      Show configuration for extension &lt;name&gt;.
</pre></div>
   </div>
  </p>
  
  <p class="para">
   <table class="doctable table">
    <caption><strong>コマンドラインオプション</strong></caption>
    
     <thead>
      <tr>
       <th>オプション</th>
       <th>長い形式のオプション</th>
       <th>説明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>-a</td>
       <td>--interactive</td>
       <td>
        <p class="para">
         PHP を対話的に実行します。詳細な情報は、<a href="features.commandline.interactive.php" class="link">対話シェル</a>
         を参照ください。
        </p>
       </td>
      </tr>

      <tr>
       <td>-b</td>
       <td>--bindpath</td>
       <td>
        <p class="para">
         外部 FASTCGI サーバーモードでのバインドパス (<abbr title="Common Gateway Interface">CGI</abbr>
         のみ)。
        </p>
       </td>
      </tr>

      <tr>
       <td>-C</td>
       <td>--no-chdir</td>
       <td>
        <p class="para">
         スクリプトのディレクトリへ chdir しません (<abbr title="Common Gateway Interface">CGI</abbr> のみ)。
        </p>
       </td>
      </tr>

      <tr>
       <td>-q</td>
       <td>--no-header</td>
       <td>
        <p class="para">
         静寂モード。<abbr title="Hypertext Transfer Protocol">HTTP</abbr> ヘッダの出力を抑制します
         (<abbr title="Common Gateway Interface">CGI</abbr> のみ)。
        </p>
       </td>
      </tr>

      <tr>
       <td>-T</td>
       <td>--timing</td>
       <td>
        <p class="para">
         スクリプトを <var class="varname">count</var> 回繰り返して実行した時間を計測します
         (<abbr title="Common Gateway Interface">CGI</abbr> のみ)。
        </p>
       </td>
      </tr>

      <tr>
       <td>-c</td>
       <td>--php-ini</td>
       <td>
        <p class="para">
         このオプションを使用することにより、<var class="filename">php.ini</var> を探すディレクトリを
         指定したり、カスタマイズされた <code class="literal">INI</code> ファイル
         (<var class="filename">php.ini</var> という名前である必要はありません)を直接指定する
         ことが可能です。例：
        </p>
        <p class="para"><div class="informalexample">
         <div class="example-contents screen">
<div class="cdata"><pre>
$ php -c /custom/directory/ my_script.php

$ php -c /custom/directory/custom-file.ini my_script.php
</pre></div>
         </div>
        </div></p>
        <p class="para">
         このオプションを指定しない場合、ファイルは、
         <a href="configuration.file.php" class="link">デフォルトの位置</a>
         で探索されます。
        </p>
       </td>
      </tr>

      <tr>
       <td>-n</td>
       <td>--no-php-ini</td>
       <td>
        <p class="para">
         <var class="filename">php.ini</var> を完全に無視します。
        </p>
       </td>
      </tr>

      <tr>
       <td>-d</td>
       <td>--define</td>
       <td>
        <p class="para">
         このオプションにより <var class="filename">php.ini</var> で指定できる設定ディレクティブに
         カスタム値を設定することができます。構文は以下のようになります。
         <div class="example-contents screen">
 <div class="cdata"><pre>
 -d configuration_directive[=value]
 </pre></div>
         </div>
        </p>
        <p class="para"><div class="example" id="example-1">
         <p><strong>例1 INI 設定に <code class="literal">-d</code> を使って値を設定する例</strong></p>
         <div class="example-contents screen">
<div class="cdata"><pre>
# 値の部分を省略すると、設定ディレクティブに&quot;1&quot;を指定します
$ php -d max_execution_time
        -r &#039;$foo = ini_get(&quot;max_execution_time&quot;); var_dump($foo);&#039;
string(1) &quot;1&quot;

# 空の値を渡すと設定ディレクティブに&quot;&quot;を設定します
php -d max_execution_time=
        -r &#039;$foo = ini_get(&quot;max_execution_time&quot;); var_dump($foo);&#039;
string(0) &quot;&quot;

# 設定ディレクティブは文字&#039;=&#039;の後に指定したものを設定します
$  php -d max_execution_time=20
        -r &#039;$foo = ini_get(&quot;max_execution_time&quot;); var_dump($foo);&#039;
string(2) &quot;20&quot;
$  php
        -d max_execution_time=doesntmakesense
        -r &#039;$foo = ini_get(&quot;max_execution_time&quot;); var_dump($foo);&#039;
string(15) &quot;doesntmakesense&quot;
</pre></div>
         </div>
        </div></p>
       </td>
      </tr>

      <tr>
       <td>-e</td>
       <td>--profile-info</td>
       <td>
        <p class="para">
         デバッガ/プロファイラ用の拡張情報を出力します。
        </p>
       </td>
      </tr>

      <tr>
       <td>-f</td>
       <td>--file</td>
       <td>
        <p class="para">
         <strong class="option unknown">-f</strong> オプションに指定したファイル名をパースし、
         実行します。このスイッチはオプションで省略することもできます。
         実行するスクリプトを指定するだけで充分です。
        </p>
       </td>
      </tr>

      <tr>
       <td>-h and -?</td>
       <td>--help and --usage</td>
       <td>
        このオプションを使用すると、実際の一連のコマンドラインオプションと
        各1行の説明が情報を取得できます。
       </td>
      </tr>

      <tr>
       <td>-i</td>
       <td>--info</td>
       <td>
        このコマンドラインオプションは、<span class="function"><a href="function.phpinfo.php" class="function">phpinfo()</a></span> をコールし、
        結果を出力します。PHP が正しく動作していない場合、
        <strong class="command">php -i</strong> を実行し、情報テーブルの前または中に
        出力されるエラーメッセージを調べることをお勧めします。
        <abbr title="Common Gateway Interface">CGI</abbr> モードの場合、
        出力が <abbr title="Hyper Text Markup Language">HTML</abbr> 形式で行なわれるため
        量がかなり多くなることに注意してください。
       </td>
      </tr>

      <tr>
       <td>-l</td>
       <td>--syntax-check</td>
       <td>
        <p class="para">
         構文チェックを行いますが、指定された PHP コードは実行しません。
         ファイル名が指定されない場合、標準出力の入力をチェックしますが、
         指定された場合、それぞれのファイルがチェックされます。
         成功した場合、
         テキスト
         <code class="literal">No syntax errors detected in &lt;filename&gt;</code>
         が標準出力に書き込まれ、リターンコードは <code class="literal">0</code>
         になります。失敗した場合は
         テキスト <code class="literal">Errors parsing
          &lt;filename&gt;</code> に加え、内部パーサーエラーメッセージ
         が標準出力に書き込まれ、シェルリターンコードは、
         <code class="literal">-1</code> となります。
        </p>
        <p class="para">
         このオプションは、(未定義の関数のような)致命的なエラー(fatal error)
         を見つけることはありません。そうするためには、
         コード全体を実行する必要があるからです。
        </p>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          PHP 8.3.0 より前のバージョンでは、
          構文チェックできるファイルの数は一つだけでした。
         </p>
        </p></blockquote>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          このオプションは、オプション <strong class="option unknown">-r</strong> と共に使用することは
          できません。
         </p>
        </p></blockquote>
       </td>
      </tr>

      <tr>
       <td>-m</td>
       <td>--modules</td>
       <td>
        <p class="para"><div class="example" id="example-2">
         <p><strong>例2 PHP に組み込まれた (そしてロードされた) Zend モジュールの表示</strong></p>
         <div class="example-contents screen">
<div class="cdata"><pre>
$ php -m
[PHP Modules]
xml
tokenizer
standard
session
posix
pcre
overload
mysql
mbstring
ctype

[Zend Modules]
</pre></div>
         </div>
        </div></p>
       </td>
      </tr>

      <tr>
       <td>-r</td>
       <td>--run</td>
       <td>
        <p class="para">
         このオプションにより、コマンドラインのみで PHP
         の実行ができるようになります。
         PHP の開始および終了タグ
         (<code class="literal">&lt;?php</code> および <code class="literal">?&gt;</code>)
         は<strong>不要</strong>で、これらを付けると
         パーサーエラーとなります。
        </p>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          このように PHP を実行する際に、コマンドラインの
          変数がシェルにより行なわれる置換と干渉しないように注意してください。
         </p>
         <div class="example" id="example-3">
          <p><strong>例3 ダブルクォートの使用時に構文エラーが出る例</strong></p>
          <div class="example-contents screen">
<div class="cdata"><pre>
$ php -r &quot;$foo = get_defined_constants();&quot;
PHP Parse error:  syntax error, unexpected &#039;=&#039; in Command line code on line 1

Parse error: syntax error, unexpected &#039;=&#039; in Command line code on line 1
</pre></div>
          </div>
         </div>
         <p class="para">
          ここでの問題は、2 重引用符 <code class="literal">&quot;</code> を用いた場合でも
          sh/bash が変数置換を行うことです。
          <var class="varname">$foo</var> はおそらく定義されていないので、
          空文字列に展開された後、実行用に PHP に
          そのコードが渡され、以下のように読み込むことになります。
         </p>
         <div class="informalexample">
          <div class="example-contents screen">
<div class="cdata"><pre>
$ php -r &quot; = get_defined_constants();&quot;
</pre></div>
          </div>
         </div>
         
         <p class="para">
          正しい方法は、1 重引用符<code class="literal">&#039;</code>を使用することです。
          1 重引用符で括られた文字列の中の変数は、sh/bash により展開されません。
         </p>
         <div class="example" id="example-4">
          <p><strong>例4 シングルクォートを使い、シェルの変数置換を防ぐ例</strong></p>
          <div class="example-contents screen">
<div class="cdata"><pre>
$ php -r &#039;$foo = get_defined_constants(); var_dump($foo);&#039;
array(370) {
  [&quot;E_ERROR&quot;]=&gt;
  int(1)
  [&quot;E_WARNING&quot;]=&gt;
  int(2)
  [&quot;E_PARSE&quot;]=&gt;
  int(4)
  [&quot;E_NOTICE&quot;]=&gt;
  int(8)
  [&quot;E_CORE_ERROR&quot;]=&gt;
  [...]
</pre></div>
          </div>
         </div>
         <p class="para">
          sh/bash 以外のシェルを使用している場合には、別の問題を経験したことが
          あるかもしれません。バグを
          <a href="https://github.com/php/php-src/issues" class="link external">&raquo;&nbsp;https://github.com/php/php-src/issues</a>
          に報告してください。
          シェル変数をコードに取得しようとしたり、エスケープを行なうために
          バックスラッシュを使用したりした場合にも、容易に問題を発生する
          可能性があります。注意が必要です。
         </p>
        </p></blockquote>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          <strong class="option unknown">-r</strong> は <abbr title="Command Line Interpreter/Interface">CLI</abbr> <abbr title="Server Application Programming Interface">SAPI</abbr> で有効で、
          <em>CGI</em> <abbr title="Server Application Programming Interface">SAPI</abbr> では使用できません。
         </p>
        </p></blockquote>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          このオプションはあくまで基本的な機能を提供するものです。そのため、
          いくつかの設定ディレクティブ（例: <a href="ini.core.php#ini.auto-prepend-file" class="link">auto_prepend_file</a> および <a href="ini.core.php#ini.auto-append-file" class="link">auto_append_file</a>）は
          このモードでは無視されます。
         </p>
        </p></blockquote>
       </td>
      </tr>

      <tr>
       <td>-B</td>
       <td>--process-begin</td>
       <td>
        <p class="para">
         標準入力を処理する前に実行する PHP コードを指定します。
        </p>
       </td>
      </tr>

      <tr>
       <td>-R</td>
       <td>--process-code</td>
       <td>
        <p class="para">
         それぞれの入力行に対して実行する PHP コードを指定します。
        </p>
        <p class="para">
         このモードには 2 つの特別な変数
         <var class="varname">$argn</var> と <var class="varname">$argi</var>
         が用意されています。
         <var class="varname">$argn</var> は PHP がその瞬間に処理している行を含み、
         <var class="varname">$argi</var> はその行番号を含んでいます。
        </p>
       </td>
      </tr>

      <tr>
       <td>-F</td>
       <td>--process-file</td>
       <td>
        <p class="para">
         全ての入力行に対して実行する PHP ファイルを指定します。
        </p>
       </td>
      </tr>

      <tr>
       <td>-E</td>
       <td>--process-end</td>
       <td>
        <p class="para">
         入力を処理した後に実行する PHP コードを指定します。
        </p>
        <p class="para"><div class="example" id="example-5">
         <p><strong>例5 とあるプロジェクトの行数をカウントするための
         <strong class="option unknown">-B</strong>, <strong class="option unknown">-R</strong> そして <strong class="option unknown">-E</strong>
         オプションの使用例
         </strong></p>
         <div class="example-contents screen">
<div class="cdata"><pre>
$ find my_proj | php -B &#039;$l=0;&#039; -R &#039;$l += count(@file($argn));&#039; -E &#039;echo &quot;Total Lines: $l\n&quot;;&#039;
Total Lines: 37328
</pre></div>
         </div>
        </div></p>
       </td>
      </tr>

      <tr>
       <td>-S</td>
       <td>--server</td>
       <td>
        <p class="para">
         <a href="features.commandline.webserver.php" class="link">ビルトインウェブサーバー</a>
         を開始させます。
        </p>
       </td>
      </tr>

      <tr>
       <td>-t</td>
       <td>--docroot</td>
       <td>
        <a href="features.commandline.webserver.php" class="link">ビルトインウェブサーバー</a>
        のドキュメントルートを指定します。
       </td>
      </tr>

      <tr>
       <td>-s</td>
       <td>--syntax-highlight と --syntax-highlighting</td>
       <td>
        <p class="para">
         カラー構文ハイライト表示されたソースを表示します。
        </p>
        <p class="para">
         このオプションは、ファイルをパースし、HTML
         ハイライト表示版のファイルを生成し、標準出力に書き出す内部機
         構を使用します。行うのは
         <code class="literal">&lt;code&gt; [...] &lt;/code&gt;</code> のブロックを
         生成することだけで、HTML ヘッダは
         出力されないことに注意してください。
        </p>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          このオプションは、<strong class="option unknown">-r</strong> オプションと同時に
          使用することはできません。
         </p>
        </p></blockquote>
       </td>
      </tr>

      <tr>
       <td>-v</td>
       <td>--version</td>
       <td>
        <p class="para"><div class="example" id="example-6">
         <p><strong>例6 <strong class="option unknown">-v</strong> による、<abbr title="Server Application Programming Interface">SAPI</abbr>
         名および PHP と Zend のバージョンの取得</strong></p>
         <div class="example-contents screen">
<div class="cdata"><pre>
$ php -v
PHP 5.3.1 (cli) (built: Dec 11 2009 19:55:07) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
</pre></div>
         </div>
        </div></p>
       </td>
      </tr>

      <tr>
       <td>-w</td>
       <td>--strip</td>
       <td>
        <p class="para">
         コメントと空白文字を削除してソースを表示します。
        </p>
        <blockquote class="note"><p><strong class="note">注意</strong>: 
         <p class="para">
          このオプションは、<strong class="option unknown">-r</strong> オプションと同時に
          使用することはできません。
         </p>
        </p></blockquote>
       </td>
      </tr>

      <tr>
       <td>-z</td>
       <td>--zend-extension</td>
       <td>
        <p class="para">
         Zend 拡張モジュールをロードします。ファイル名のみが指定された場合、
         PHP はこの拡張をカレントのシステムのデフォルトライブラリパスから
         ロードしようとします
         (Linux システムの場合は <var class="filename">/etc/ld.so.conf</var> で
         指定されています)。
         ファイル名を絶対パスで指定した場合、システムのライブラリサーチパスを
         使用しません。ディレクトリ情報を有する相対ファイル名を
         指定すると、PHP は
         カレントのディレクトリの相対パスから拡張モジュールをロードする
         ことのみを行ないます。
        </p>
       </td>
      </tr>

      <tr>
       <td class="empty">&nbsp;</td>
       <td>--ini</td>
       <td>
        <p class="para">
         設定ファイルの名前、設定ファイルを検索するディレクトリを表示します。
         <div class="example" id="example-7">
          <p><strong>例7 <code class="literal">--ini</code> の例</strong></p>
          <div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ php --ini
Configuration File (php.ini) Path: /usr/dev/php/5.2/lib
Loaded Configuration File:         /usr/dev/php/5.2/lib/php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)</pre>
</div>
          </div>

         </div>
        </p>
       </td>
      </tr>

      <tr>
       <td>--rf</td>
       <td>--rfunction</td>
       <td>
        <p class="para">
         指定した関数あるいはクラスメソッドについての情報
         (たとえばパラメータの数と名前など) を表示します。
        </p>
        <p class="para">
         このオプションは、PHP が
         <a href="book.reflection.php" class="link">リフレクション</a>
         のサポートつきでコンパイルされている場合にのみ使用可能です。
        </p>
        <p class="para">
         <div class="example" id="example-8">
          <p><strong>例8 基本的な <code class="literal">--rf</code> の使用法</strong></p>
          <div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ php --rf var_dump
Function [ &lt;internal&gt; public function var_dump ] {

  - Parameters [2] {
    Parameter #0 [ &lt;required&gt; $var ]
    Parameter #1 [ &lt;optional&gt; $... ]
  }
}</pre>
</div>
          </div>

         </div>
        </p>
       </td>
      </tr>

      <tr>
       <td>--rc</td>
       <td>--rclass</td>
       <td>
        <p class="para">
         指定したクラスについての情報 (定数、プロパティおよびメソッドの一覧)
         を表示します。
        </p>
        <p class="para">
         このオプションは、PHP が
         <a href="book.reflection.php" class="link">リフレクション</a>
         のサポートつきでコンパイルされている場合にのみ使用可能です。
        </p>
        <p class="para">
         <div class="example" id="example-9">
          <p><strong>例9 <code class="literal">--rc</code> の例</strong></p>
          <div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ php --rc Directory
Class [ &lt;internal:standard&gt; class Directory ] {

  - Constants [0] {
  }

  - Static properties [0] {
  }

  - Static methods [0] {
  }

  - Properties [0] {
  }

  - Methods [3] {
    Method [ &lt;internal&gt; public method close ] {
    }

    Method [ &lt;internal&gt; public method rewind ] {
    }

    Method [ &lt;internal&gt; public method read ] {
    }
  }
}</pre>
</div>
          </div>

         </div>
        </p>
       </td>
      </tr>

      <tr>
       <td>--re</td>
       <td>--rextension</td>
       <td>
        <p class="para">
         指定した拡張モジュールについての情報 (<var class="filename">php.ini</var> オプション、
         定義されている関数、定数およびクラスの一覧) を表示します。
        </p>
        <p class="para">
         このオプションは、PHP が
         <a href="book.reflection.php" class="link">リフレクション</a>
         のサポートつきでコンパイルされている場合にのみ使用可能です。
        </p>
        <p class="para">
         <div class="example" id="example-10">
          <p><strong>例10 <code class="literal">--re</code> の例</strong></p>
          <div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ php --re json
Extension [ &lt;persistent&gt; extension #19 json version 1.2.1 ] {

  - Functions {
    Function [ &lt;internal&gt; function json_encode ] {
    }
    Function [ &lt;internal&gt; function json_decode ] {
    }
  }
}</pre>
</div>
          </div>

         </div>
        </p>
       </td>
      </tr>

      <tr>
       <td>--rz</td>
       <td>--rzendextension</td>
       <td>
        <p class="para">
         指定した Zend 拡張モジュールについての情報
         (<span class="function"><a href="function.phpinfo.php" class="function">phpinfo()</a></span> が返す情報と同じもの)
         を表示します。
        </p>
       </td>
      </tr>

      <tr>
       <td>--ri</td>
       <td>--rextinfo</td>
       <td>
        <p class="para">
         指定した拡張モジュールについての設定情報 (<span class="function"><a href="function.phpinfo.php" class="function">phpinfo()</a></span>
         が返す情報と同じもの) を表示します。
         コア機能に関する設定情報は、
         &quot;main&quot; というモジュール名で取得できます。
        </p>
        <p class="para">
         <div class="example" id="example-11">
          <p><strong>例11 <code class="literal">--ri</code> の例</strong></p>
          <div class="example-contents">
<div class="shellcode"><pre class="shellcode">$ php --ri date

date

date/time support =&gt; enabled
&quot;Olson&quot; Timezone Database Version =&gt; 2009.20
Timezone Database =&gt; internal
Default timezone =&gt; Europe/Oslo

Directive =&gt; Local Value =&gt; Master Value
date.timezone =&gt; Europe/Oslo =&gt; Europe/Oslo
date.default_latitude =&gt; 59.930972 =&gt; 59.930972
date.default_longitude =&gt; 10.776699 =&gt; 10.776699
date.sunset_zenith =&gt; 90.583333 =&gt; 90.583333
date.sunrise_zenith =&gt; 90.583333 =&gt; 90.583333</pre>
</div>
          </div>

         </div>
        </p>
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
  
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <p class="para">
    オプション <code class="literal">-rBRFEH</code>、<code class="literal">--ini</code> および
    <code class="literal">--r[fcezi]</code> は <abbr title="Command Line Interpreter/Interface">CLI</abbr> でのみ使用可能です。
   </p>
  </p></blockquote>
 </div><?php manual_footer($setup); ?>