php-doc-en/reference/sqlite/ini.xml
Jakub Vrana f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00

87 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="sqlite.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>SQLite &ConfigureOptions;</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>Changelog</entry>
</row>
</thead>
<tbody>
<row>
<entry><link linkend="ini.sqlite.assoc-case">sqlite.assoc_case</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.0.0.</entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.sqlite.assoc-case">
<term>
<parameter>sqlite.assoc_case</parameter>
<type>int</type>
</term>
<listitem>
<para>
Whether to use mixed case (<literal>0</literal>), upper case
(<literal>1</literal>) or lower case (<literal>2</literal>) hash
indexes.
</para>
<para>
This option is primarily useful when you need compatibility with other
database systems, where the names of the columns are always returned as
uppercase or lowercase, regardless of the case of the actual field names
in the database schema.
</para>
<para>
The <productname>SQLite</productname> library returns the column names in their natural case (that
matches the case you used in your schema). When
<parameter>sqlite.assoc_case</parameter> is set to <literal>0</literal>
the natural case will be preserved. When it is set to
<literal>1</literal> or <literal>2</literal>, PHP will apply case
folding on the hash keys to upper- or lower-case the keys, respectively.
</para>
<para>
Use of this option incurs a slight performance penalty, but is MUCH
faster than performing the case folding yourself using PHP script.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->