function.bson-encode.html 2.64 KB
<!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>Serializes a PHP variable into a BSON string</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.bson-decode.html">bson_decode</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mongo.exceptions.html">Exceptions</a></div>
 <div class="up"><a href="ref.mongo.html">Mongo Funktionen</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.bson-encode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">bson_encode</h1>
  <p class="verinfo">(PECL mongo &gt;=1.0.1)</p><p class="refpurpose"><span class="refname">bson_encode</span> &mdash; <span class="dc-title">Serializes a PHP variable into a BSON string</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.bson-encode-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>bson_encode</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$anything</code></span>
   )</div>

  <p class="para rdfs-comment">
   This function is very beta and entirely useless for 99% of users.  It is only
   useful if you&#039;re doing something weird, such as writing your own driver on 
   top of the PHP driver.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.bson-encode-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">anything</code></dt>

     <dd>

      <p class="para">
       The variable to be serialized.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.bson-encode-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Returns the serialized string.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.bson-decode.html">bson_decode</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mongo.exceptions.html">Exceptions</a></div>
 <div class="up"><a href="ref.mongo.html">Mongo Funktionen</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>