svn: /phpdoc/en/trunk/reference/mongo/ ini.xml

From: Date: Mon, 22 Feb 2010 17:23:51 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ ini.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6115@lists.php.net to get a copy of this message
kristina Mon, 22 Feb 2010 17:23:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295376 Log: added mongo.utf8 option Changed paths: U phpdoc/en/trunk/reference/mongo/ini.xml Modified: phpdoc/en/trunk/reference/mongo/ini.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/ini.xml 2010-02-22 17:18:37 UTC (rev 295375) +++ phpdoc/en/trunk/reference/mongo/ini.xml 2010-02-22 17:23:51 UTC (rev 295376) @@ -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>

« previous php.doc.cvs (#6115) next »