mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
added mongo.utf8 option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295376 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
05abf37d96
commit
773cd45365
1 changed files with 24 additions and 0 deletions
|
@ -55,6 +55,11 @@
|
|||
<entry>"$"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongo.utf8">mongo.utf8</link></entry>
|
||||
<entry>"1"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
@ -167,6 +172,25 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongo.utf8">
|
||||
<term>
|
||||
<parameter>mongo.utf8</parameter>
|
||||
<type>int</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If an exception should be thrown for non-UTF8 strings. Until version
|
||||
1.0.4, the PHP driver would ignore non-UTF8 strings, even though you're
|
||||
not supposed to insert them. As of 1.0.4, the driver throws a
|
||||
<classname>MongoException</classname>. To ease the transition for
|
||||
applications that insert non-UTF8 strings, you can turn this option off to
|
||||
emulate the old, non-exception-throwning behavior. This option will be
|
||||
eliminated and exceptions always thrown for non-UTF8 strings starting with
|
||||
version 1.0.6.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</para>
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue