<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'mongodb-bson-int64.construct.php',
    1 => 'MongoDB\\BSON\\Int64::__construct',
    2 => 'Construct a new 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' => 'en',
    '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">Construct a new Int64</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mongodb-bson-int64.construct-description">
  <h3 class="title">Açıklama</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="simpara">
   Creates a new <span class="classname"><a href="class.mongodb-bson-int64.php" class="classname">MongoDB\BSON\Int64</a></span> instance for the
   given integer value.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mongodb-bson-int64.construct-parameters">
  <h3 class="title">Bağımsız Değişkenler</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>
     <span class="simpara">
      The value to assign to the <span class="classname"><strong class="classname">Int64</strong></span> instance. This
      value can be provided as an <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> or <span class="type"><a href="language.types.string.php" class="type string">string</a></span>, the
      latter being required on 32-bit platforms to represent 64-bit values.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 changelog" id="refsect1-mongodb-bson-int64.construct-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>PECL mongodb 1.16.0</td>
      <td>
       <span class="simpara">
        This method was made public to support creating Int64 instances when
        working with raw BSON.
       </span>
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 errors" id="refsect1-mongodb-bson-int64.construct-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <ul class="simplelist">
   <li>Throws <span class="classname"><a href="class.mongodb-driver-exception-invalidargumentexception.php" class="classname">MongoDB\Driver\Exception\InvalidArgumentException</a></span> on argument parsing errors.</li>
   <li>Throws <span class="classname"><a href="class.mongodb-driver-exception-invalidargumentexception.php" class="classname">MongoDB\Driver\Exception\InvalidArgumentException</a></span> if string <code class="parameter">value</code> cannot be parsed as a 64-bit integer.</li>
  </ul>
 </div>


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


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