<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/yaml.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'yaml.configuration.php',
    1 => '実行時設定',
    2 => '実行時設定',
  ),
  'up' => 
  array (
    0 => 'yaml.setup.php',
    1 => 'インストール/設定',
  ),
  'prev' => 
  array (
    0 => 'yaml.installation.php',
    1 => 'インストール手順',
  ),
  'next' => 
  array (
    0 => 'yaml.constants.php',
    1 => '定義済み定数',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/yaml/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="yaml.configuration" class="section">
  <h2 class="title">実行時設定</h2>
  <p class="simpara">
<var class="filename">php.ini</var> の設定により動作が変化します。
</p>
  <p class="para">
    <table class="doctable table">
      <caption><strong>Yaml 設定オプション</strong></caption>
      
        <thead>
          <tr>
            <th>名前</th>
            <th>デフォルト</th>
            <th>変更可能</th>
            <th>変更履歴</th>
          </tr>

        </thead>

        <tbody class="tbody">
          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.decode-binary" class="link">yaml.decode_binary</a></td>
            <td>0</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.decode-php" class="link">yaml.decode_php</a></td>
            <td>0</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td>1.2.0 で追加されました。2.0.0 より前のデフォルトは 1 でした</td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.decode-timestamp" class="link">yaml.decode_timestamp</a></td>
            <td>0</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.output-canonical" class="link">yaml.output_canonical</a></td>
            <td>0</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.output-indent" class="link">yaml.output_indent</a></td>
            <td>2</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.php#ini.yaml.output-width" class="link">yaml.output_width</a></td>
            <td>80</td>
            <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
            <td></td>
          </tr>

        </tbody>
      
    </table>

  </p>

  <p class="para">以下に設定ディレクティブに関する
簡単な説明を示します。</p>

  <p class="para">
    <dl>
      
        <dt id="ini.yaml.decode-binary">
          <code class="parameter">yaml.decode_binary</code>
          <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
        </dt>
        <dd>
          <p class="para">
            デフォルトではオフです。オンにすると、明示的にタグ
            &quot;tag:yaml.org,2002:binary&quot; がつけられた
            base64 バイナリエンコード形式のエンティティをデコードします。
          </p>
        </dd>
      
      
        <dt id="ini.yaml.decode-php">
          <code class="parameter">yaml.decode_php</code>
          <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
        </dt>
        <dd>
          <p class="para">
            デフォルトではオフです。
            しかし、明示的に &quot;!php/object&quot; タグを指定した phpオブジェクトをアンシリアライズさせたい場合には、オンにできます。
          </p>
        </dd>
      
      
        <dt id="ini.yaml.decode-timestamp">
          <code class="parameter">yaml.decode_timestamp</code>
          <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
        </dt>
        <dd>
          <p class="para">
            YAML ドキュメントストリームにおける暗黙的なスカラー、
            および明示的に &quot;tag:yaml.org,2002:timestamp&quot; がつけられたスカラーの
            デコードを制御します。デフォルト設定は <code class="literal">0</code>
            で、これはなにもデコードしません。
            <code class="literal">1</code> を設定すると、<span class="function"><a href="function.strtotime.php" class="function">strtotime()</a></span>
            を使って timestamp 値を Unix タイムスタンプに変換します。
            <code class="literal">2</code> を設定すると、<span class="function"><a href="function.date-create.php" class="function">date_create()</a></span>
            を使って timestamp 値を <span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span> オブジェクトに変換します。
          </p>
        </dd>
      
      
        <dt id="ini.yaml.output-canonical">
          <code class="parameter">yaml.output_canonical</code>
          <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
        </dt>
        <dd>
          <p class="para">
            デフォルトではオフです。オンにすると、標準形式の出力となります。
          </p>
        </dd>
      
      
        <dt id="ini.yaml.output-indent">
          <code class="parameter">yaml.output_indent</code>
          <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
        </dt>
        <dd>
          <p class="para">
            セクションの字下げに使うスペースの数。
            <code class="literal">1</code> から <code class="literal">10</code>
            までの間の値でなければなりません。
          </p>
        </dd>
      
      
        <dt id="ini.yaml.output-width">
          <code class="parameter">yaml.output_width</code>
          <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
        </dt>
        <dd>
          <p class="para">
            行の長さの推奨値。<code class="literal">-1</code> は、無制限を意味します。
          </p>
        </dd>
      
    </dl>
  </p>
</div><?php manual_footer($setup); ?>