<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.sqlite3.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'sqlite3.constants.php',
    1 => 'Предопределённые константы',
    2 => 'Предопределённые константы',
  ),
  'up' => 
  array (
    0 => 'book.sqlite3.php',
    1 => 'SQLite3',
  ),
  'prev' => 
  array (
    0 => 'sqlite3.configuration.php',
    1 => 'Настройка во время выполнения',
  ),
  'next' => 
  array (
    0 => 'class.sqlite3.php',
    1 => 'SQLite3',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/sqlite3/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="sqlite3.constants" class="appendix">
 <h1 class="title">Предопределённые константы</h1>

 
<p class="simpara">
 Следующие константы определяются модулем
 и доступны, только если модуль либо собрали в PHP,
 либо динамически загрузили при выполнении кода.
</p>
 <p class="para">
  <dl>
   
    <dt id="constant.sqlite3-assoc">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-assoc">SQLITE3_ASSOC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что <span class="methodname"><a href="sqlite3result.fetcharray.php" class="methodname">Sqlite3Result::fetchArray()</a></span> метод должен вернуть массив,
      индексированный по имени столбца в соответствующий набор результатов.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-num">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-num">SQLITE3_NUM</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что <span class="methodname"><a href="sqlite3result.fetcharray.php" class="methodname">Sqlite3Result::fetchArray()</a></span> метод должен вернуть массив,
      индексированный по номеру столбца в соответствующий набор результатов, начиная со столбца 0.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-both">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-both">SQLITE3_BOTH</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что <span class="methodname"><a href="sqlite3result.fetcharray.php" class="methodname">Sqlite3Result::fetchArray()</a></span> метод должен вернуть массив,
      индексированный по имени столбца и его номеру в соответствующий набор результатов, начиная со столбца 0.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-integer">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-integer">SQLITE3_INTEGER</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Представляет класс хранения типа SQLite3 INTEGER.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-float">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-float">SQLITE3_FLOAT</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Представляет класс хранения типа SQLite3 REAL (FLOAT).
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-text">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-text">SQLITE3_TEXT</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Представляет класс хранения типа SQLite3 TEXT.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-blob">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-blob">SQLITE3_BLOB</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Представляет класс хранения типа SQLite3 BLOB.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-null">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-null">SQLITE3_NULL</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Представляет класс хранения типа SQLite3 NULL.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-open-readonly">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-open-readonly">SQLITE3_OPEN_READONLY</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что база данных SQLite3 доступна только для чтения.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-open-readwrite">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-open-readwrite">SQLITE3_OPEN_READWRITE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что база данных SQLite3 доступна как для чтения, так и для записи.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-open-create">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-open-create">SQLITE3_OPEN_CREATE</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает на то, что файл базы данных SQLite3 будет создан в том случае, если он ещё не существует.
     </span>
    </dd>
   
   
    <dt id="constant.sqlite3-deterministic">
     <strong><code><a href="sqlite3.constants.php#constant.sqlite3-deterministic">SQLITE3_DETERMINISTIC</a></code></strong>
     (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
    </dt>
    <dd>
     <span class="simpara">
      Указывает, что функция созданная <span class="function"><strong>SQLite3::sqliteCreateFunction()</strong></span>
      детерминирована. Т.е. она всегда возвращает одинаковый результат для
      для одинаковых входных данных в одном выражении SQL. (Доступно с PHP 7.1.4.)
     </span>
    </dd>
   
  </dl>
 </p>
</div>
<?php manual_footer($setup); ?>