<!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-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's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="ini.yaml.decode-binary"> <span class="term"> <em><code class="parameter">yaml.decode_binary</code></em> <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span> </span> <dd> <p class="para"> Off by default, but can be set to on to cause base64 binary encoded entities which have the explicit tag "tag:yaml.org,2002:binary" to be decoded. </p> </dd> </dt> <dt id="ini.yaml.decode-timestamp"> <span class="term"> <em><code class="parameter">yaml.decode_timestamp</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Controls the decoding of both implicit and explict "tag:yaml.org,2002:timestamp" 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> <dt id="ini.yaml.output-canonical"> <span class="term"> <em><code class="parameter">yaml.output_canonical</code></em> <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span> </span> <dd> <p class="para"> Off by default, but can be set to on to cause canonical form output. </p> </dd> </dt> <dt id="ini.yaml.output-indent"> <span class="term"> <em><code class="parameter">yaml.output_indent</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Number of spaces to indent sections. Value should be between <em>1</em> and <em>10</em>. </p> </dd> </dt> <dt id="ini.yaml.output-width"> <span class="term"> <em><code class="parameter">yaml.output_width</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> Set the preferred line width. <em>-1</em> means unlimited. </p> </dd> </dt> </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>