<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mongodb-bson-int64.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'mongodb-bson-int64.construct.php',
    1 => 'MongoDB\\BSON\\Int64::__construct',
    2 => 'Construit un nouveau Int64',
  ),
  'up' => 
  array (
    0 => 'class.mongodb-bson-int64.php',
    1 => 'MongoDB\\BSON\\Int64',
  ),
  'prev' => 
  array (
    0 => 'class.mongodb-bson-int64.php',
    1 => 'MongoDB\\BSON\\Int64',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-int64.jsonserialize.php',
    1 => 'MongoDB\\BSON\\Int64::jsonSerialize',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mongodb/bson/int64/construct.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb-bson-int64.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">MongoDB\BSON\Int64::__construct</h1>
  <p class="verinfo">(mongodb &gt;=1.5.0)</p><p class="refpurpose"><span class="refname">MongoDB\BSON\Int64::__construct</span> &mdash; <span class="dc-title">Construit un nouveau Int64</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-bson-int64.construct-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="methodname"><strong>MongoDB\BSON\Int64::__construct</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$value</code></span>)</div>

  <p class="para rdfs-comment">
   Crée une nouvelle instance de <span class="classname"><a href="class.mongodb-bson-int64.php" class="classname">MongoDB\BSON\Int64</a></span> pour la
   valeur entière donnée.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-bson-int64.construct-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">value</code> (<span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span>)</dt>
    <dd>
     <p class="para">
      La valeur à assigner à l&#039;instance de <span class="classname"><strong class="classname">Int64</strong></span>. Cette
      valeur peut être fournie en tant que <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> ou <span class="type"><a href="language.types.string.php" class="type string">string</a></span>,
      ce dernier étant requis sur les plateformes 32 bits pour représenter les valeurs 64 bits.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 changelog" id="refsect1-mongodb-bson-int64.construct-changelog">
  <h3 class="title">Historique</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL mongodb 1.16.0</td>
       <td>
        <p class="para">
         Cette méthode a été rendue publique pour prendre en charge la création d&#039;instances Int64 lors
         de la manipulation de BSON brut.
        </p>
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-mongodb-bson-int64.construct-errors">
  <h3 class="title">Erreurs / Exceptions</h3>
  <ul class="simplelist">
   <li>Lance une exception <span class="classname"><strong class="classname">MongoDB\Driver\InvalidArgumentException</strong></span> lors d'une erreur survenue pendant l'analyse d'un argument.</li>
   <li>Lance une <span class="classname"><a href="class.mongodb-driver-exception-invalidargumentexception.php" class="classname">MongoDB\Driver\Exception\InvalidArgumentException</a></span> si la chaîne
   <code class="parameter">value</code> ne peut pas être analysée en tant qu'un entier 64 bits.</li>
  </ul>
 </div>


 <div class="refsect1 seealso" id="refsect1-mongodb-bson-int64.construct-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><a href="https://www.mongodb.com/docs/manual/reference/bson-types/" class="link external">&raquo;&nbsp;Types BSON</a></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>