Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 14829

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Runtime Configuration</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaml.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaml.resources.html">Resource Types</a></div>
 <div class="up"><a href="yaml.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="yaml.configuration" class="section">
  <h2 class="title">Runtime Configuration</h2>
  <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
  <p class="para">
    <table class="doctable table">
      <caption><strong>Yaml Configure Options</strong></caption>
      
        <thead>
          <tr>
            <th>Name</th>
            <th>Default</th>
            <th>Changeable</th>
            <th>Changelog</th>
          </tr>

        </thead>

        <tbody class="tbody">
          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.decode-binary" class="link">yaml.decode_binary</a></td>
            <td>0</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.decode-php" class="link">yaml.decode_php</a></td>
            <td>1</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.decode-timestamp" class="link">yaml.decode_timestamp</a></td>
            <td>0</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.output-canonical" class="link">yaml.output_canonical</a></td>
            <td>0</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.output-indent" class="link">yaml.output_indent</a></td>
            <td>2</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

          <tr>
            <td><a href="yaml.configuration.html#ini.yaml.output-width" class="link">yaml.output_width</a></td>
            <td>80</td>
            <td>PHP_INI_ALL</td>
            <td></td>
          </tr>

        </tbody>
      
    </table>

  </p>

  <p class="para">Here&#039;s a short explanation of
the configuration directives.</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.html" class="type boolean">boolean</a></span>
        </dt>

        <dd>

          <p class="para">
            Off by default, but can be set to on to cause base64 binary encoded entities which have the explicit tag &quot;tag:yaml.org,2002:binary&quot; to be decoded.
          </p>
        </dd>

      
      
        <dt id="ini.yaml.decode-php">
          <code class="parameter">yaml.decode_php</code>
          <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
        </dt>

        <dd>

          <p class="para">
            On by default, but can be set to off to prevent serialized php objects which have the explicit tag &quot;!php/object&quot; from being unserialized.
          </p>
        </dd>

      
      
        <dt id="ini.yaml.decode-timestamp">
          <code class="parameter">yaml.decode_timestamp</code>
          <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
        </dt>

        <dd>

          <p class="para">
            Controls the decoding of both implicit and explict &quot;tag:yaml.org,2002:timestamp&quot; scalars in the YAML document stream. The default setting of <em>0</em> will not apply any decoding. A setting of <em>1</em> will use <span class="function"><a href="function.strtotime.html" class="function">strtotime()</a></span> to parse the timestamp value as a Unix timestamp. A setting of <em>2</em> will use <span class="function"><a href="function.date-create.html" class="function">date_create()</a></span> to parse the timestamp value as <span class="type"><a href="class.datetime.html" class="type DateTime">DateTime</a></span> object.
          </p>
        </dd>

      
      
        <dt id="ini.yaml.output-canonical">
          <code class="parameter">yaml.output_canonical</code>
          <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
        </dt>

        <dd>

          <p class="para">
            Off by default, but can be set to on to cause canonical form output.
          </p>
        </dd>

      
      
        <dt id="ini.yaml.output-indent">
          <code class="parameter">yaml.output_indent</code>
          <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
        </dt>

        <dd>

          <p class="para">
            Number of spaces to indent sections. Value should be between
            <em>1</em> and <em>10</em>.
          </p>
        </dd>

      
      
        <dt id="ini.yaml.output-width">
          <code class="parameter">yaml.output_width</code>
          <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
        </dt>

        <dd>

          <p class="para">
            Set the preferred line width. <em>-1</em> means unlimited.
          </p>
        </dd>

      
    </dl>

  </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaml.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaml.resources.html">Resource Types</a></div>
 <div class="up"><a href="yaml.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>