Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 13027

php-manual-en-5.5.7-1.mga4.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>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaml.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaml.examples.html">Examples</a></div>
 <div class="up"><a href="book.yaml.html">Yaml</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="yaml.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <p class="para">
 </p>

 <dl>

  <strong class="title">Scalar entity styles usable by  <span class="function"><a href="function.yaml-parse.html" class="function">yaml_parse()</a></span>
   callback methods.</strong>
  <dt id="constant.yaml-any-scalar-style">
   <span class="term">
    <strong><code>YAML_ANY_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-plain-scalar-style">
   <span class="term">
    <strong><code>YAML_PLAIN_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-single-quoted-scalar-style">
   <span class="term">
    <strong><code>YAML_SINGLE_QUOTED_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-double-quoted-scalar-style">
   <span class="term">
    <strong><code>YAML_DOUBLE_QUOTED_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-literal-scalar-style">
   <span class="term">
    <strong><code>YAML_LITERAL_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-folded-scalar-style">
   <span class="term">
    <strong><code>YAML_FOLDED_SCALAR_STYLE</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
    </span>
   </dd>

  </dt>

 </dl>


 <dl>

  <strong class="title">Common tags usable by  <span class="function"><a href="function.yaml-parse.html" class="function">yaml_parse()</a></span>
   callback methods.</strong>
  <dt id="constant.yaml-null-tag">
   <span class="term">
    <strong><code>YAML_NULL_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:null&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-bool-tag">
   <span class="term">
    <strong><code>YAML_BOOL_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:bool&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-str-tag">
   <span class="term">
    <strong><code>YAML_STR_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:str&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-int-tag">
   <span class="term">
    <strong><code>YAML_INT_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:int&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-float-tag">
   <span class="term">
    <strong><code>YAML_FLOAT_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:float&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-timestamp-tag">
   <span class="term">
    <strong><code>YAML_TIMESTAMP_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:timestamp&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-seq-tag">
   <span class="term">
    <strong><code>YAML_SEQ_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:seq&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-map-tag">
   <span class="term">
    <strong><code>YAML_MAP_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;tag:yaml.org,2002:map&quot;
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-php-tag">
   <span class="term">
    <strong><code>YAML_PHP_TAG</code></strong>
    (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </span>
   <dd>

    <span class="simpara">
     &quot;!php/object&quot;
    </span>
   </dd>

  </dt>

 </dl>


 <dl>

  <strong class="title">Encoding types for  <span class="function"><a href="function.yaml-emit.html" class="function">yaml_emit()</a></span></strong>
  <dt id="constant.yaml-any-encoding">
   <span class="term">
    <strong><code>YAML_ANY_ENCODING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Let the emitter choose an encoding.
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-utf8-encoding">
   <span class="term">
    <strong><code>YAML_UTF8_ENCODING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Encode as UTF8.
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-utf16le-encoding">
   <span class="term">
    <strong><code>YAML_UTF16LE_ENCODING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Encode as UTF16LE.
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-utf16be-encoding">
   <span class="term">
    <strong><code>YAML_UTF16BE_ENCODING</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Encode as UTF16BE.
    </span>
   </dd>

  </dt>

 </dl>


 <dl>

  <strong class="title">Linebreak types for  <span class="function"><a href="function.yaml-emit.html" class="function">yaml_emit()</a></span></strong>
  <dt id="constant.yaml-any-break">
   <span class="term">
    <strong><code>YAML_ANY_BREAK</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Let emitter choose linebreak character.
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-cr-break">
   <span class="term">
    <strong><code>YAML_CR_BREAK</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Use <em>\r</em> as break character (Mac style).
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-ln-break">
   <span class="term">
    <strong><code>YAML_LN_BREAK</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Use <em>\n</em> as break character (Unix style).
    </span>
   </dd>

  </dt>

  <dt id="constant.yaml-crln-break">
   <span class="term">
    <strong><code>YAML_CRLN_BREAK</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </span>
   <dd>

    <span class="simpara">
     Use <em>\r\n</em> as break character (DOS style).
    </span>
   </dd>

  </dt>

 </dl>


</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaml.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaml.examples.html">Examples</a></div>
 <div class="up"><a href="book.yaml.html">Yaml</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>